-
Notifications
You must be signed in to change notification settings - Fork 626
BUILD FAILED: Could not find com.google.android.gms:play-services-auth:11.8.0 #478
Comments
Cause: #474, not sure what to do.. switching back to the old version will give other issues. |
I managed to correct this error by changing the version of com.google.android.gms:play-services-identity and com.google.android.gms:play-services-auth from 11.8.0 to 11.0.4 in my platforms/android/project.properties |
Hey @EddyVerbruggen, can you elaborate when you say "other issues". Is going back to 11.0.4 as @lucianomizra suggested the best "for now" fix? |
The issues mentioned in the linked bug. |
Did anyone found solution for this? |
I solved this problem simply by changing the version of android in
and add code |
I did all the things you guys posted, but it still does not compile in phonegap build, anyone has some better solution? I still get error
after including
|
@KlejdyszS i did this by changing the version to a lower one. And it worked. |
@lucianomizra these changes works for me when i made the same changes in my platforms/android/build-extras.gradle all version of 11.8.0 to 11.0.4 |
@EddyVerbruggen did you get any solution for this issue? |
Using phonegap build with "phonegap-version" as "cli-8.0.0" and "pgb-builder-version" as "2", I am facing a different issue. It is asking to use a higher version 11.6.2. For now using a fork as quick fix.
|
In phonegap build, changing:
to:
allowed a clean build. I used a cloned repo and created my own plugin but with only those changes. The login works. |
my issue solve cordova plugin remove cordova-plugin-google-analytics ionic cordova platform rm android ionic cordova platform add android ionic cordova build android work fine |
i use the ionic pro package service and it was failing with 11.8.0. I fixed it by changing this in my package.json file: |
`A problem occurred evaluating root project 'android'.
|
in Ionic 3 Update file from plateform -> android -> project-properties target=android-27 and build it once again for android it working for me |
I am also getting this problem, on Meteor 1.8. Here is error log
It was fixed after I changed android - project.properties file line my previous builds with 1.6 has is there any fix available to this so I do not have to manually change these versions? |
Call 9106413704
…On Thu 28 Mar, 2019, 12:31 AM Davinder Kumar Meen, ***@***.***> wrote:
I am also getting this problem, on Meteor 1.8. Here is error log
:javaPreCompileRelease FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':releaseCompileClasspath'.
> Could not find play-services-identity.jar (com.google.android.gms:play-services-identity:11.8.0).
Searched in the following locations:
https://jcenter.bintray.com/com/google/android/gms/play-services-identity/11.8.0/play-services-identity-11.8.0.jar
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s
27 actionable tasks: 2 executed, 25 up-to-date
=> Errors executing Cordova commands:
While building Cordova app for platform Android:
Error: /Users/davinder/Work/map/appname/app/.meteor/local/cordova-build/platforms/android/gradlew: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
Could not resolve all files for configuration ':releaseCompileClasspath'.
> Could not find play-services-identity.jar (com.google.android.gms:play-services-identity:11.8.0).
Searched in the following locations:
https://jcenter.bintray.com/com/google/android/gms/play-services-identity/11.8.0/play-services-identity-11.8.0.jar
It was fixed after I changed android - project.properties file line
cordova.system.library.4=com.google.android.gms:play-services-identity:11.8.0
to
cordova.system.library.4=com.google.android.gms:play-services-identity:11.0.4
my previous builds with 1.6 has
cordova.system.library.4=com.google.android.gms:play-services-identity:+
is there any fix available to this so I do not have to manually change
these versions?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#478 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AT_--EatEYw2RA90ZbdLCeok8TrDcELnks5va7_ugaJpZM4TGIw9>
.
|
Hey @amamitpandey so much thank you!! It working for me!! |
I have the same build error. Fix it by editing platforms/android/build.gradle, make sure jcenter() is below maven:
|
Solution: In cordova-plugin-googleplus/plugin.xml - Replace '$PLAY_SERVICES_VERSION' with '+' |
in ionic 5 - Android SDK 33 - Cordova 11 and :
I had to change in platfomrs/android/app/build.gradle
for this
in project.properties
for this
|
cordova-plugin-googleplus/plugin.xml
Line 32 in 63f5c99
Phonegap Build is failing with this exception:
I tried removing the plugin, just to confirm the plugin was actually causing the error. Once I removed the plugin, the build succeeded. So it is the plugin, and this is the only line of code that looks like it could be causing the error. Not sure how to solve it, wish I could be of more help.
The plugin was working fine about a month ago.
Using: Phonegap Build
Version of Plugin: latest
<plugin name="cordova-plugin-googleplus" source="npm">
Here is the full error Message. Not sure is this helps.
The text was updated successfully, but these errors were encountered: