2017-07-19 8 views
0

私は私depedenciesの1にそのSDKレベル23で仕事をしたいexceptiuon私はエラーを取得する必要があり:APPCOMPAT-V7:23.1.0とmediarouter-V7:22.0.0

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

最後に削除する必要がありますか?

+0

同じバージョンに変更しますか? –

+0

@MuratK。それは解決策ですか? SDKを使用する場合はどうすればよいですか23 – Ben

答えて

0

同じバージョン番号を使用する必要があります。 mediarouter-v7:22.0.0com.android.support:mediarouter-v7:23.0.0に変更する

サポートパッケージの概要については、hereを参照してください。

関連する問題