Can't build .aab file at Unity After setup Admob

119 views
Skip to first unread message

mnis...@gmail.com

unread,
Mar 5, 2024, 12:31:18 AM3/5/24
to Google Mobile Ads SDK Developers
Before integrate Admob, .aab file builded well at unity. 

But after add Admob, now build trial itself failed. 

Following 3 errors.

1.
> Configure project :launcher
WARNING:The option setting 'android.bundle.enableUncompressedNativeLibs=false' is deprecated.
The current default is 'true'.

2.
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':launcher:checkReleaseDuplicateClasses'.
> A failure occurred while executing

3.
CommandInvokationFailure: Gradle build failed.
C:\Program Files\Unity\Hub\Editor\2023.2.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2023.2.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-7.6.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "bundleRelease"
 

Mobile Ads SDK Forum Advisor

unread,
Mar 5, 2024, 7:13:50 AM3/5/24
to mnis...@gmail.com, google-adm...@googlegroups.com
Hi,

Thank you for contacting the Mobile Ads SDK Support team.

To conduct a comprehensive investigation into the build error issue you are experiencing, could you please provide us with information regarding the specific version of the SDK/ Unity employed in the project?

Further, it would be of great assistance if you could provide a complete sample project including the issue for further investigation.

If the file(s) you are looking to share are less than 25mb in total you can attach them to this case on your next reply. If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, kindly provide requested information to us via reply to author option or using the steps below:

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=Mobile+Ads+SDK&entry.460850823=5004Q00002rzfvBQAQ&entry.80707362=00225911

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link. 

This message is in relation to case "ref:!00D1U01174p.!5004Q02rzfvB:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team


Message has been deleted

Mobile Ads SDK Forum Advisor

unread,
Mar 28, 2024, 5:39:45 AM3/28/24
to trungh...@gmail.com, google-adm...@googlegroups.com
Hi,

I see that you have already raised this concern on another thread with the subject 'Error checkReleaseDuplicateClasses when build file with google admob and google native ad in Unity', and we have already responded to this issue. To avoid multiple threads on the same issue, please take a look at that thread and continue the discussion on the same for further updates on the issue.
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02rzfvB:ref" (ADR-00225911)


Thanks,
 
Google Logo Mobile Ads SDK Team


niral panchal

unread,
Apr 1, 2024, 2:01:34 AM4/1/24
to Google Mobile Ads SDK Developers
i try to show google ads in my app.
the testing ads is showing and also real ad is showing but the some times
in somewhere countries ad is not showing
could you please help me?
and when i testing on my device with real ad id then only native ad is not showing 
W/Ads     (22298): Not retrying to fetch app settings
this error is showing why
can you help me 

Mobile Ads SDK Forum Advisor

unread,
Apr 1, 2024, 10:00:04 AM4/1/24
to niralpan...@gmail.com, google-adm...@googlegroups.com
Hi.

Since you have stated that the ads are displaying successfully, I can confirm that the Mobile Ads SDK is integrated correctly.

You have to make sure that you enable the test device while testing to avoid any kind of errors. When you enable test mode and test your Ad unit Ids with Google sample project, you will see a production looking ad with a "Test Ad" label and that confirms that your Ad unit Ids are working.

Kindly share your below information via the “Reply to author” option. Once received we will be checking your account for policy issues.
  • app ID
  • Ad unit ID
  • Mobile Ads SDK version
Reply all
Reply to author
Forward
0 new messages