googlePlayServicesVersion problem [with temporary solution, should i do PR?]
See original GitHub issueFound this bug, maybe just me or some other with the googlePlayServicesVersion problem, so am sharing my solution/fix here that takes me hours to solve:
As stated on the documentation, we have to set googlePlayServicesVersion to 15.0.0, but somehow I got this error
Failed to capture snapshot of input files for task ':app:preDebugBuild' property 'compileManifests' during up-to-date check.
The library com.google.android.gms:play-services-auth-base is being requested by various other libraries at [[15.0.0,15.0.0]], but resolves to 15.1.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
without setting the googlePlayServicesVersion, my error will fall on 15.0.1:
The library com.google.android.gms:play-services-auth-base is being requested by various other libraries at [[15.0.1,15.0.1]], but resolves to 15.1.0. Disable the plugin and check your dependencies tree using ./gradlew :app:dependencies.
The temporary fix/solution in my code will be updating include.gradle (is it set by scripts/installer.js?) on these lines below
compile "com.google.android.gms:play-services-base:$googlePlayServicesVersion" -> compile "com.google.android.gms:play-services-base:15.0.1"
compile "com.google.android.gms:play-services-auth:$googlePlayServicesVersion" -> compile "com.google.android.gms:play-services-auth:16.0.0"
(I got the latest version from here: https://developers.google.com/android/guides/setup)
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
The same for me, I looked up this issue in several pages, until finally I achieved resolve it.
I am going to share you my app.gradle
Perhaps, there is something to fix in my file but it’s working.
I hope that it can be helped for you.
hi @EddyVerbruggen I’ve checked the latest version 6.8.1, but the file changes a bit different and still contain the bug, am putting the PR #908