Closed KOSSOKO closed 6 years ago
Have you tried to run 'Assets->Play Services Resolver->Android Resolver->Force Resolve' option? Probably it should help in this case.
@olehkuznetsov when I try Force Resolve option, I got resolution failed
do you have GoogleMobileAds too? if yes you need to delete it, delete play services resolver folder, delete google services folder, delete google ads folder from the plugin too, delete anything related to google services from the plugin folder too(very important), then do fresh import google services with the resolver, then import google mobile ads and dont import the play services resolver of it, now you can enjoy your game again!
@wardetta I don't have GoogleMobileAds. I use Unity ads.
I deleted all Android folder, and reimport Google play game. I got resolution failed with this error
Gradle failed to fetch dependencies.
Failed to run 'E:\Documents\KissoroNew\Kissoro\Kissoro\Temp\PlayServicesResolverGradle\gradlew.bat -b "E:\Documents\KissoroNew\Kissoro\Kissoro\Temp\PlayServicesResolverGradle\PlayServicesResolver.scripts.download_artifacts.gradle" --no-daemon "-PANDROID_HOME=C:/Users/koste/AppData/Local/Android/sdk" "-PTARGET_DIR=E:\Documents\KissoroNew\Kissoro\Kissoro\Assets\Plugins\Android" "-PMAVEN_REPOS=file:///E:/Documents/KissoroNew/Kissoro/Kissoro/Assets/GooglePlayGames/Editor/m2repository" "-PPACKAGES_TO_COPY=com.google.games:gpgs-plugin-support:0.9.53;com.google.android.gms:play-services-base:[10.2.1, 12.1.0);com.google.firebase:firebase-messaging:[10.2.1, 12.1.0);com.google.android.gms:play-services-location:[10.2.1, 12.1.0);com.android.support:support-v4:[26.0.0, 27.2.0);com.android.support:customtabs:[26.0.0, 27.2.0)"'
stdout:
> Configure project :
ANDROID_HOME: C:/Users/koste/AppData/Local/Android/sdk
MAVEN_REPOS: name=maven url=file:/E:/Documents/KissoroNew/Kissoro/Kissoro/Assets/GooglePlayGames/Editor/m2repository/
MAVEN_REPOS: name=maven2 url=file:/C:/Users/koste/AppData/Local/Android/sdk/extras/android/m2repository/
MAVEN_REPOS: name=maven3 url=file:/C:/Users/koste/AppData/Local/Android/sdk/extras/google/m2repository/
MAVEN_REPOS: name=maven4 url=https://maven.google.com
MAVEN_REPOS: name=MavenLocal url=file:/C:/Users/koste/.m2/repository/
MAVEN_REPOS: name=BintrayJCenter url=https://jcenter.bintray.com/
MAVEN_REPOS: name=MavenRepo url=https://repo.maven.apache.org/maven2/
PACKAGES_TO_COPY: com.google.games:gpgs-plugin-support:0.9.53
PACKAGES_TO_COPY: com.google.android.gms:play-services-base:[10.2.1, 12.1.0]
PACKAGES_TO_COPY: com.google.firebase:firebase-messaging:[10.2.1, 12.1.0]
PACKAGES_TO_COPY: com.google.android.gms:play-services-location:[10.2.1, 12.1.0]
PACKAGES_TO_COPY: com.android.support:support-v4:[26.0.0, 27.2.0]
PACKAGES_TO_COPY: com.android.support:customtabs:[26.0.0, 27.2.0]
TARGET_DIR: E:\Documents\KissoroNew\Kissoro\Kissoro\Assets\Plugins\Android
Resolution attempt 1: packages [com.google.games:gpgs-plugin-support:0.9.53, com.google.android.gms:play-services-base:[10.2.1, 12.1.0], com.android.support:customtabs:[26.0.0, 27.2.0], com.google.firebase:firebase-messaging:[10.2.1, 12.1.0], com.google.android.gms:play-services-location:[10.2.1, 12.1.0], com.android.support:support-v4:[26.0.0, 27.2.0]]
com.google.android.gms:play-services-base conflicting due to package(s):
- com.google.android.gms:play-services-base:[10.2.1, 12.1.0]
- com.google.android.gms:play-services-location:[10.2.1, 12.1.0]/com.google.android.gms:play-services-base:12.0.1
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-auth-api-phone:[15.0.1,16.0.0]/com.google.android.gms:play-services-base:[15.0.1,16.0.0]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-auth-base:[15.0.1]/com.google.android.gms:play-services-base:[15.0.1,16.0.0]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-base:[15.0.1,16.0.0]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-games:15.0+/com.google.android.gms:play-services-base:[15.0.1,16.0.0]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-games:15.0+/com.google.android.gms:play-services-drive:[15.0.1,16.0.0]/com.google.android.gms:play-services-base:[15.0.1,16.0.0]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-nearby:15.0+/com.google.android.gms:play-services-base:[15.0.1,16.0.0]
com.google.android.gms:play-services-basement conflicting due to package(s):
- com.google.android.gms:play-services-base:[10.2.1, 12.1.0]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.android.gms:play-services-base:[10.2.1, 12.1.0]/com.google.android.gms:play-services-tasks:[15.0.1]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.android.gms:play-services-location:[10.2.1, 12.1.0]/com.google.android.gms:play-services-base:12.0.1/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.android.gms:play-services-location:[10.2.1, 12.1.0]/com.google.android.gms:play-services-base:12.0.1/com.google.android.gms:play-services-tasks:[15.0.1]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.android.gms:play-services-location:[10.2.1, 12.1.0]/com.google.android.gms:play-services-basement:12.0.1
- com.google.android.gms:play-services-location:[10.2.1, 12.1.0]/com.google.android.gms:play-services-tasks:12.0.1/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.firebase:firebase-messaging:[10.2.1, 12.1.0]/com.google.android.gms:play-services-basement:12.0.1
- com.google.firebase:firebase-messaging:[10.2.1, 12.1.0]/com.google.firebase:firebase-common:12.0.1/com.google.android.gms:play-services-basement:12.0.1
- com.google.firebase:firebase-messaging:[10.2.1, 12.1.0]/com.google.firebase:firebase-common:12.0.1/com.google.android.gms:play-services-tasks:12.0.1/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.firebase:firebase-messaging:[10.2.1, 12.1.0]/com.google.firebase:firebase-iid:12.0.1/com.google.android.gms:play-services-basement:12.0.1
- com.google.firebase:firebase-messaging:[10.2.1, 12.1.0]/com.google.firebase:firebase-iid:12.0.1/com.google.android.gms:play-services-tasks:12.0.1/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.firebase:firebase-messaging:[10.2.1, 12.1.0]/com.google.firebase:firebase-iid:12.0.1/com.google.firebase:firebase-common:12.0.1/com.google.android.gms:play-services-basement:12.0.1
- com.google.firebase:firebase-messaging:[10.2.1, 12.1.0]/com.google.firebase:firebase-iid:12.0.1/com.google.firebase:firebase-common:12.0.1/com.google.android.gms:play-services-tasks:12.0.1/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-auth-api-phone:[15.0.1,16.0.0]/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-auth-api-phone:[15.0.1,16.0.0]/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-tasks:[15.0.1]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-auth-api-phone:[15.0.1,16.0.0]/com.google.android.gms:play-services-basement:[15.0.1,16.0.0]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-auth-api-phone:[15.0.1,16.0.0]/com.google.android.gms:play-services-tasks:[15.0.1,16.0.0]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-auth-base:[15.0.1]/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-auth-base:[15.0.1]/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-tasks:[15.0.1]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-auth-base:[15.0.1]/com.google.android.gms:play-services-basement:[15.0.1,16.0.0]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-auth-base:[15.0.1]/com.google.android.gms:play-services-tasks:[15.0.1,16.0.0]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-tasks:[15.0.1]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-basement:[15.0.1,16.0.0]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-tasks:[15.0.1,16.0.0]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-games:15.0+/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-games:15.0+/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-tasks:[15.0.1]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-games:15.0+/com.google.android.gms:play-services-basement:[15.0.1,16.0.0]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-games:15.0+/com.google.android.gms:play-services-drive:[15.0.1,16.0.0]/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-games:15.0+/com.google.android.gms:play-services-drive:[15.0.1,16.0.0]/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-tasks:[15.0.1]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-games:15.0+/com.google.android.gms:play-services-drive:[15.0.1,16.0.0]/com.google.android.gms:play-services-basement:[15.0.1,16.0.0]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-games:15.0+/com.google.android.gms:play-services-drive:[15.0.1,16.0.0]/com.google.android.gms:play-services-tasks:[15.0.1,16.0.0]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-games:15.0+/com.google.android.gms:play-services-tasks:[15.0.1,16.0.0]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-nearby:15.0+/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-nearby:15.0+/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-tasks:[15.0.1]/com.google.android.gms:play-services-basement:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-nearby:15.0+/com.google.android.gms:play-services-basement:[15.0.1,16.0.0]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-nearby:15.0+/com.google.android.gms:play-services-tasks:[15.0.1,16.0.0]/com.google.android.gms:play-services-basement:[15.0.1]
com.google.android.gms:play-services-tasks conflicting due to package(s):
- com.google.android.gms:play-services-base:[10.2.1, 12.1.0]/com.google.android.gms:play-services-tasks:[15.0.1]
- com.google.android.gms:play-services-location:[10.2.1, 12.1.0]/com.google.android.gms:play-services-base:12.0.1/com.google.android.gms:play-services-tasks:[15.0.1]
- com.google.android.gms:play-services-location:[10.2.1, 12.1.0]/com.google.android.gms:play-services-tasks:12.0.1
- com.google.firebase:firebase-messaging:[10.2.1, 12.1.0]/com.google.firebase:firebase-common:12.0.1/com.google.android.gms:play-services-tasks:12.0.1
- com.google.firebase:firebase-messaging:[10.2.1, 12.1.0]/com.google.firebase:firebase-iid:12.0.1/com.google.android.gms:play-services-tasks:12.0.1
- com.google.firebase:firebase-messaging:[10.2.1, 12.1.0]/com.google.firebase:firebase-iid:12.0.1/com.google.firebase:firebase-common:12.0.1/com.google.android.gms:play-services-tasks:12.0.1
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-auth-api-phone:[15.0.1,16.0.0]/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-tasks:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-auth-api-phone:[15.0.1,16.0.0]/com.google.android.gms:play-services-tasks:[15.0.1,16.0.0]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-auth-base:[15.0.1]/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-tasks:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-auth-base:[15.0.1]/com.google.android.gms:play-services-tasks:[15.0.1,16.0.0]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-tasks:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-auth:15.0+/com.google.android.gms:play-services-tasks:[15.0.1,16.0.0]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-games:15.0+/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-tasks:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-games:15.0+/com.google.android.gms:play-services-drive:[15.0.1,16.0.0]/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-tasks:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-games:15.0+/com.google.android.gms:play-services-drive:[15.0.1,16.0.0]/com.google.android.gms:play-services-tasks:[15.0.1,16.0.0]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-games:15.0+/com.google.android.gms:play-services-tasks:[15.0.1,16.0.0]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-nearby:15.0+/com.google.android.gms:play-services-base:[15.0.1,16.0.0]/com.google.android.gms:play-services-tasks:[15.0.1]
- com.google.games:gpgs-plugin-support:0.9.53/com.google.android.gms:play-services-nearby:15.0+/com.google.android.gms:play-services-tasks:[15.0.1,16.0.0]
com.google.firebase:firebase-common conflicting due to package(s):
- com.google.firebase:firebase-messaging:[10.2.1, 12.1.0]/com.google.firebase:firebase-common:12.0.1
- com.google.firebase:firebase-messaging:[10.2.1, 12.1.0]/com.google.firebase:firebase-iid:12.0.1/com.google.firebase:firebase-common:12.0.1
com.google.firebase:firebase-common-license conflicting due to package(s):
- com.google.firebase:firebase-messaging:[10.2.1, 12.1.0]/com.google.firebase:firebase-common:12.0.1/com.google.firebase:firebase-common-license:12.0.1
- com.google.firebase:firebase-messaging:[10.2.1, 12.1.0]/com.google.firebase:firebase-iid:12.0.1/com.google.firebase:firebase-common:12.0.1/com.google.firebase:firebase-common-license:12.0.1
Resolution attempt: 1, conflicts detected: true, updated packages: true
Resolution attempt 2: packages [com.google.android.gms:play-services-base: 12.1.0+, com.android.support:customtabs:27.1.1, com.google.games:gpgs-plugin-support:0.<message truncated>
I finally find that the build failed because Gradle is looking for firebase messaging 12.1.0. But I don't know where to find it.
- com.google.firebase:firebase-iid:[17.0.4]/com.google.firebase:firebase-iid-interop:16.0.1
- com.google.firebase:firebase-messaging:[10.2.1, 12.1.0]/com.google.firebase:firebase-iid:12.0.1/com.google.firebase:firebase-iid-interop:16.0.1
Resolution attempt: 1, conflicts detected: true, updated packages: true
Resolution attempt 2: packages [com.google.firebase:firebase-analytics-unity:5.4.0@srcaar, com.google.firebase:firebase-app-unity:5.4.0@srcaar, com.google.firebase:firebase-common:16.0.3+, com.google.games:gpgs-plugin-support:0.9.53+, com.android.support:support-v4:27.1.1, com.google.firebase:firebase-analytics:16.0.4+, com.google.firebase:firebase-iid:[17.0.4], com.google.android.gms:play-services-base: 12.1.0+, com.android.support:customtabs:27.1.1, com.google.firebase:firebase-messaging: 12.1.0+, com.google.android.gms:play-services-location: 12.1.0+, com.google.firebase:firebase-core:16.0.4+]
Resolve failed due to com.google.android.gms:play-services-base: 12.1.0+ missing for project :, attempted to use com.google.android.gms:play-services-base: 12.1.0+, failed due to org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find any version that matches com.google.android.gms:play-services-base: 12.1.0+.
Versions that do not match:
- 11.0.4
- 11.0.2
- 11.0.1
- 11.0.0
- 10.2.6
- + 34 more
Searched in the following locations:
- https://maven.google.com/com/google/android/gms/play-services-base/maven-metadata.xml
- https://jcenter.bintray.com/com/google/android/gms/play-services-base/maven-metadata.xml
- https://jcenter.bintray.com/com/google/android/gms/play-services-base/
- https://repo.maven.apache.org/maven2/com/google/android/gms/play-services-base/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/google/android/gms/play-services-base/
Resolve failed due to com.google.firebase:firebase-messaging: 12.1.0+ missing for project :, attempted to use com.google.firebase:firebase-messaging: 12.1.0+, failed due to org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find any version that matches com.google.firebase:firebase-messaging: 12.1.0+.
Versions that do not match:
- 11.0.4
- 11.0.2
- 11.0.1
- 11.0.0
- 10.2.6
- + 32 more
Searched in the following locations:
- https://maven.google.com/com/google/firebase/firebase-messaging/maven-metadata.xml
- https://jcenter.bintray.com/com/google/firebase/firebase-messaging/maven-metadata.xml
- https://jcenter.bintray.com/com/google/firebase/firebase-messaging/
- https://repo.maven.apache.org/maven2/com/google/firebase/firebase-messaging/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/google/firebase/firebase-messaging/
Resolve failed due to com.google.android.gms:play-services-location: 12.1.0+ missing for project :, attempted to use com.google.android.gms:play-services-location: 12.1.0+, failed due to org.gradle.internal.resolve.ModuleVersionNotFoundException: Could not find any version that matches com.google.android.gms:play-services-location: 12.1.0+.
Versions that do not match:
- 11.0.4
- 11.0.2
- 11.0.1
- 11.0.0
- 10.2.6
- + 34 more
Searched in the following locations:
- https://maven.google.com/com/google/android/gms/play-services-location/maven-metadata.xml
- https://jcenter.bintray.com/com/google/android/gms/play-services-location/maven-metadata.xml
- https://jcenter.bintray.com/com/google/android/gms/play-services-location/
- https://repo.maven.apache.org/maven2/com/google/android/gms/play-services-location/maven-metadata.xml
- https://repo.maven.apache.org/maven2/com/google/android/gms/play-services-location/
stderr:
FAILURE: Build failed with an exception.
It seems you need to update Firebase plugin too.
@olehkuznetsov I use the latest version of Firebase 5.4.1
Have you added any other packages except Google Play Games and Firebase?
I added also One signal the latest version
I removed OneSignal from the project and everything works fine now
Thanks for the update
After updating my Google Play game to the recent release 0.9.53, I can't log in. When I run my application, I got directly this output :
I don't really know how to correct it. I tried many solutions find on internet without success. Please could you help me ?