-
Notifications
You must be signed in to change notification settings - Fork 966
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
AndroidJavaException: java.lang.ClassNotFoundException: com.google.android.gms.games.Games #3315
Comments
Other unity packages used in this project are:
|
According to EDM4U dev, “com.google.android.play:core:1.10.3” is deprecated, so I need to update it. googlesamples/unity-jar-resolver#707 This is build.gradle found after build aab:
Currently tested 2021.3.43f1 and 2022.3.45f1. Both same. Google doesn’t allow me to upload app bundle with this:
I tried manually installing Play Core from here https://developers.google.com/unity/packages#play_core And I tried force resolve, but now the build fails with a duplicated classes error. Still play.core is 1.10.13.
|
I am having this same issue with a small difference. Other libraries are already requiring target API 34 which does not change the behaviour as it does in the original description. Nothing changes even if I change the target to 35. I am always getting this error message on multiple devices. |
Try force resolve or uncheck custom gradle files and check it again. |
Hello, thanks for the input. I have tried force resolving as well as resetting the custom gradle files. The external dependency manager wants to re-enable those as it is required by other plugins. |
Yes for some reason EDM4U requires enable custom gradle files. If it asks just press check. Deleting gradle files in android plugin folder and try re-enabling custom gradle files again. |
If I disable custom gradle files the build fails because of duplicate classes:
Interestingly, this happens too if I disable Jetifier in the external dependency manager settings and do a force resolve after deleting the resolved libraries. Another interesting note is that this duplicate class failure shows up in Unity Cloud Build as well, preventing us using it, which is why I'm even doing a build locally. |
The same issue with 0.10.14 and Resolver v183, target API 33 I had to update IAP and Resolver because it's required by Google. Still can target API 34 (crash). |
I have the same issue: I get an error when Social.ShowLeaderboardUI() is called: AndroidJavaException: java.lang.ClassNotFoundException:com.google.games.bridge.HelperFragment. Did anyone fix this? |
Describe the bug
When I launched my game, stuck in the authentication with this error:
To Reproduce
Steps to reproduce the behavior:
Try "force resolve" and run, authentication passes but when I upload it on Google Play Console, google rejects it with this message:
Expected behavior
Authentication should be pass, and Google accepts the update
Observed behavior
After setting target API level to 34, only Android 14 users crashed with this error message:
So I updated Unity from 2020 LTS to 2021 LTS, and then 2021.3.43f1, and also updated EDM4U to the latest version but now stuck in the infinite loading in the authentication step, so tried force resolve and it worked, but google rejects the update with this:
In brief,
Bug Report
Capture a bug report and share the Google Drive link. If the bug report contains sensitive information, then make it private and only give access to requests from
[email protected]
accounts.Versions
The text was updated successfully, but these errors were encountered: