- Home /
Question by
hamed_kh311 · Jun 21, 2018 at 12:15 PM ·
error message
Error after import GoogleAnalyticsV4 to unity project
I imported the "GoogleAnalyticsV4_nobitcode" to my project and then the android force resolve failed ! this is the Error :
Gradle failed to fetch dependencies.
Failed to run '...\Temp\PlayServicesResolverGradle\gradlew.bat -b "...\Temp\PlayServicesResolverGradle\PlayServicesResolver.scripts.download_artifacts.gradle" --daemon "-PANDROID_HOME=../AppData/Local/Android/android-sdk" "-PTARGET_DIR=...\Assets\Plugins\Android" "-PMAVEN_REPOS=file:///.../Assets/Firebase/m2repository;https://maven.google.com" "-PPACKAGES_TO_COPY=com.google.android.gms:play-services-gcm:+;com.google.android.gms:play-services-location:+;com.android.support:customtabs:+;com.android.support:support-v4:+;com.google.firebase:firebase-analytics:11.8.0;com.google.firebase:firebase-core:11.8.0;com.google.firebase:firebase-analytics-unity:4.4.0;com.google.android.gms:play-services-base:11.8.0;com.google.firebase:firebase-common:11.8.0;com.google.firebase:firebase-app-unity:4.4.0;com.google.android.gms:play-services-analytics:+"'
stdout:
stderr:
FAILURE: Build failed with an exception.
* Where:
Build file '...\Temp\PlayServicesResolverGradle\PlayServicesResolver.scripts.download_artifacts.gradle' line: 127
* What went wrong:
A problem occurred evaluating root project 'PlayServicesResolverGradle'.
> For input string: "0-alpha3"
* 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 3s
exit code: 1
UnityEngine.Debug:LogError(Object)
Google.Logger:Log(String, LogLevel)
GooglePlayServices.PlayServicesResolver:Log(String, LogLevel)
GooglePlayServices.<GradleResolution>c__AnonStorey0:<>m__0(Result)
GooglePlayServices.<GradleResolution>c__AnonStorey1:<>m__0()
GooglePlayServices.PlayServicesResolver:PumpUpdateQueue()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
any one can help me solve this problem ? thanks
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612165209im_/https://answers.unity.com/themes/thub/images/avi.jpg)