我试图使用一些库,但我得到以下错误。是否有可能重写库的依赖关系
All com.google.android.gms libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 8.4.0, 10.2.1. Examples include com.google.android.gms:play-services:8.4.0 and com.google.android.gms:play-services-auth:10.2.1 less... (Ctrl+F1)
我觉得像这样的东西应该可以工作,但我仍然会得到同样的错误。
compile'com.example.x:library:2.0.0', {
exclude group: 'com.android.support', module: 'support-compat'
}
是否有可能使外部库使用我的应用程序的依赖项,或者是否有解决方案?
谢谢。
你能在这里发表您所有的依赖库? – Raja