我進口的依賴越來越之後在圖書館的衝突:衝突庫導入播放服務後
compile 'com.google.android.gms:play-services:11.4.2'
這是在這一行報告錯誤行:
compile 'com.android.support:appcompat-v7:26.1.0'
這是的錯誤:
All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes).
Found version 26.1.0, 25.2.0
如果我改線
compile 'com.android.support:appcompat-v7:26.1.0'
到:
compile 'com.android.support:appcompat-v7:25.2.0'
現在,我得到
This support library should not use a different version (25) than the compile SDK version (26).
發生了什麼。這就像某種圓形的錯誤。
我該如何解決?