Android Dependency Issue With Gms Play Services
I'm receiving an error due to the fact I'm attempting to use the app indexing library from Google while also importing a library which uses an older version of the android gms libr
Solution 1:
You can always tell Gradle to use the latest version of a dependency; it'll automatically override whatever your transitive dependencies request. E.g., if this is in your build.gradle
:
compile'com.google.android.gms:play-services-cast:8.3.0'compile'com.connectsdk:connect-sdk-android:1.6.0'
Even though connect-sdk-android v1.6.0 uses play-services-cast v7.8.0, you'll still get 8.3.0 in your final build.
That said, if Connect SDK's library doesn't work with 8.3.0, then you're stuck until they update their library anyways. In that case, you might want to inform them of the problem on their library's issue page.
Post a Comment for "Android Dependency Issue With Gms Play Services"