-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Google Play Service Resolver Failed in Unity 2018.1.0b5 #172
Comments
I have the simallar problem. After importing the package into empty project getting this error. Resolution failed Failed to fetch the following dependencies: Also get Warning. @supasonk Have you found a solution? |
@Artemu25 I solve this problem by look in to others plugin. Unity won't allow multiple play-service aar. In the same project. |
After importing the package into empty project getting this error as well. Unity version: 2017.4.2f2 Tried to update SDKs, reimport, nothing helps. Resolution failed Failed to fetch the following dependencies: UnityEngine.Debug:LogError(Object) |
Is there a resolution to this as I am facing the same issue? |
I get the same issues. Some part of the resolution doesn't seem to work when using My 5 centsWhen using My solutionBy hardcoding version <dependencies>
<!-- Android dependencies are specified under the "androidPackages" element.
Each "androidPackage" element contains the attributes of an Android
dependency (e.g AAR, JAR reference). -->
<androidPackages>
<!-- The "spec" attribute is *required* and provides the Maven package
specification.
Currently this only supports group:artifact:version_specification where
group:artifact:version_specification references a Maven package that
can be located in:
* Maven central.
* Google's Maven repo.
* Local Android SDK Maven repo.
Additional repositories can be added using the "repositories" element.
-->
<androidPackage spec="com.google.android.gms:play-services-analytics:12.0.1">
<!-- androidSdkPackageIds is optional and contains the set of Android
SDK package manager components (packages) this package requires.
If the package can't be found in any of the specified repositories,
the dependency resolver will attempt to install the set of Android
SDK packages specified here and then attempt resolution again.
-->
<androidSdkPackageIds>
<androidSdkPackageId>extra-google-m2repository</androidSdkPackageId>
</androidSdkPackageIds>
<!-- "repositories" are optional and contain the set of additional
repository URIs to search for this package. -->
<repositories>
<repository>https://maven.google.com</repository>
</repositories>
</androidPackage>
</androidPackages>
</dependencies> |
@jnbt But still getting the below error for Android Project. Any help on the same will be really appreciated. Resolution failed Failed to fetch the following dependencies: |
@jeeteshb I can only assume that your project has some Android dependency loading |
I was using googleSignIn plugin, google analytics plugin, voxel buster,
stans assets, vuforia plugins.
So any of these plugins have the dependencies for 15.0.1 in your opinion.
Thanks,
Jeetesh
…On Mon, Aug 6, 2018 at 5:37 PM, jnbt ***@***.***> wrote:
@jeeteshb <https://github.com/jeeteshb> I can only assume that your
project has some Android dependency loading 15.0.1. Which plugins are you
using?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#172 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AD8CHazeLX7chZvKSdMXJRn-QJq1yTiNks5uODGSgaJpZM4Slkv0>
.
|
We were having the same problems. Using the latest version of PlayServicesResolver (1.2,95 at the moment) instead of the one provided in this repo solved the issue for us. No other changes were needed. The GoogleAnalyticsDependencies could still use LATEST instead of hardcoding a lower version number. |
When I install the GoogleAnalyticV4 package in unity the following error code appear
`Resolution failed
Failed to fetch the following dependencies:
com.google.android.gms:play-services-analytics:LATEST
UnityEngine.Debug:LogError(Object)
GooglePlayServices.PlayServicesResolver:LogDelegate(String, LogLevel)
Google.JarResolver.PlayServicesSupport:Log(String, LogLevel, Boolean)
GooglePlayServices.ResolverVer1_1:LogMissingDependenciesError(List
1) GooglePlayServices.<DoResolutionUnsafe>c__AnonStorey18:<>m__28(List
1)GooglePlayServices.c__AnonStorey14:<>m__20(Result)
GooglePlayServices.c__AnonStorey15:<>m__2B()
GooglePlayServices.PlayServicesResolver:PumpUpdateQueue()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()`
`Gradle failed to fetch dependencies.
Failed to run 'Temp/PlayServicesResolverGradle/gradlew -b Temp/PlayServicesResolverGradle/PlayServicesResolver.scripts.download_artifacts.gradle --no-daemon "-PANDROID_HOME=/Users/almagest/Library/Android/sdk" "-PTARGET_DIR=/Users/almagest/Development/Unity Project/Google Analytic No Bitcode/Assets/Plugins/Android" "-PMAVEN_REPOS=https://maven.google.com" "-PPACKAGES_TO_COPY=com.google.android.gms:play-services-analytics:+"'
stdout:
stderr:
FAILURE: Build failed with an exception.
What went wrong:
Could not determine java version from '9.0.4'.
Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
exit code: 1
UnityEngine.Debug:LogError(Object)
GooglePlayServices.PlayServicesResolver:LogDelegate(String, LogLevel)
Google.JarResolver.PlayServicesSupport:Log(String, LogLevel, Boolean)
GooglePlayServices.c__AnonStorey14:<>m__20(Result)
GooglePlayServices.c__AnonStorey15:<>m__2B()
GooglePlayServices.PlayServicesResolver:PumpUpdateQueue()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()`
The text was updated successfully, but these errors were encountered: