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.ads.initialization.OnInitializationCompleteListener #2458
Comments
我也有这个问题,蹲一手 |
Hi, I have the same problem. Test ads work fine on editor but nothing happens on the mobile device (via apk). Anyone got any solution? I have tried resolve and force resolve for android. |
我将Gradle版本升级到6.9.x,并且重新修复了网络环境后,这个问题解决了。 |
Sorry don't speak Japanese. |
I have this problem too.
Solution: Build Settings > Player Setting > Publishing Settings > Custom Progurard File proguard-user.txt:
|
it is works for me. thank you |
it works for me too. Thanks! |
This issue is often related not running the dependency manager before building. In the Unity editor, select Assets > External Dependency Manager > Android Resolver > Resolve. The Unity External Dependency Manager library will copy the declared dependencies into the Assets/Plugins/Android directory of your Unity app. |
Yes, me too. Everything is fine |
Worked for me thanks. I have been struggling with this issue for days. |
Since there were no recent activities for this issue, we are therefore reluctantly going to close this bug for now. If you are still experiencing the problem, please file a new issue with the same description, what happens and system / network tracing / Charles logs. All system setups can be slightly different, so it's always better to open new issues and reference the related ones. Thanks for your contribution. |
Edit>Project Settings>Publishing Settings [Uncheck all the boxes] |
work for unity 2022.3.3f1 thanks |
It works! Many Thanks! |
Unchecking "Use R8" from Edit->Project Settings->Publishing Settings under "Minify" solved this for me. |
it works
it works for me. thx |
work success for me. thanks |
Describe the problem
Steps to reproduce:
I build a project using Admob, it works fine with test app id, ad unit id. But when I release the app, no ads are shown. I test my application using LogCat, it shows these errors.
Relevant Code:
When App start this error is displayed in LogCat
When I click the show ad button, this error is displayed
I have done Assets > Play Services Resolver > Android Resolver > Force Resolve like many tutorials but it doesn't work.
My environment
Thank you
The text was updated successfully, but these errors were encountered: