Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/217.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android appcompat-v7:23.1.0和mediarouter-v7:22.0.0_Android - Fatal编程技术网

Android appcompat-v7:23.1.0和mediarouter-v7:22.0.0

Android appcompat-v7:23.1.0和mediarouter-v7:22.0.0,android,Android,我有一个例外,我想在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

我有一个例外,我想在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。支持:mediarouter-v7:23.0.0


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

将其更改为相同版本?@MuratK。这是一个解决方案?如果我想使用SDK 23,我该怎么做