Hi, Since updating from unity 2019 to 2020.1.17f1 I am experiencing android build errors. I have already manually triggered “resolve android dependencies” which just immediately prompts with a “resolution succeeded” dialog, I’m not sure it actually does anything because it seems to be happening too quickly…
When I start build process as soon as i get to the “building gradle” step it fails with following error:
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':launcher:mergeReleaseResources'.
> Could not resolve all files for configuration ':launcher:releaseRuntimeClasspath'.
> Could not find com.google.games:gpgs-plugin-support:0.9.64.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/com/google/games/gpgs-plugin-support/0.9.64/gpgs-plugin-support-0.9.64.pom
- https://dl.google.com/dl/android/maven2/com/google/games/gpgs-plugin-support/0.9.64/gpgs-plugin-support-0.9.64.jar
- https://jcenter.bintray.com/com/google/games/gpgs-plugin-support/0.9.64/gpgs-plugin-support-0.9.64.pom
- https://jcenter.bintray.com/com/google/games/gpgs-plugin-support/0.9.64/gpgs-plugin-support-0.9.64.jar
- file:/C:/Users/username/Documents/projectName/Temp/gradleOut/unityLibrary/libs/gpgs-plugin-support-0.9.64.jar
- file:/C:/Users/username/Documents/projectName/Temp/gradleOut/unityLibrary/libs/gpgs-plugin-support.jar
Required by:
project :launcher > project :unityLibrary
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
Execution failed for task ':unityLibrary:javaPreCompileRelease'.
> Could not resolve all files for configuration ':unityLibrary:releaseCompileClasspath'.
> Could not find com.google.games:gpgs-plugin-support:0.9.64.
Required by:
project :unityLibrary
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
==============================================================================
* Get more help at https://help.gradle.org
BUILD FAILED in 4s
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
I hope someone would have an idea about what is going on and eventually how to solve this problem.
Thanks!