appcompat-v7:23.1.0 and mediarouter-v7:22.0.0



我有一个例外,我想在 SDK 级别 23 上工作,所以在我的一个方面我得到一个错误:

with: compile 'com.android.support:appcompat-v7:23.0.0'
All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 23.0.0, 22.0.0. Examples include com.android.support:appcompat-v7:23.0.0 and com.android.support:mediarouter-v7:22.0.0 less... (Ctrl+F1)  There are some combinations of libraries, or tools and libraries, that
> are incompatible, or can lead to bugs. One such incompatibility is
> compiling with a version of the Android support libraries that is not
> the latest version (or in particular, a version lower than your
> targetSdkVersion.)

在我拥有的图书馆上也是如此:mediarouter-v7:22.0.0

我必须最后删除这个吗?

您必须使用相同的版本号。将mediarouter-v7:22.0.0更改为com.android.support:mediarouter-v7:23.0.0

有关支持包的概述,请参阅此处。

最新更新