Cant build when updating unity admob plugin from 7.4.1 to 8.3.0

1,105 views
Skip to first unread message

Xagu

unread,
Jun 21, 2023, 8:25:04 AM6/21/23
to Google Mobile Ads SDK Developers
Hi.
Just updated Google mobile ads from 7.4.1 to 8.3.0 because of the big amount of crashes that were experiencing Samsung users when watching an ad.

Fixed the code to run new methods and delegates and tried building it but cant because of gradle errors.

Using Unity 2020.3.30f1 and Google mobile ads 8.3.0

Errors:
-Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
-Could not load custom lint check jar file C:\Users\xagu02\.gradle\caches\transforms-2\files-2.1\e7f41ae8dd95d68f769f532e0b597149\jetified-startup-runtime-1.1.1\jars\lint.jar
java.lang.NoClassDefFoundError: com/android/tools/lint/client/api/Vendor
-Could not load custom lint check jar file C:\Users\xagu02\.gradle\caches\transforms-2\files-2.1\b48512c54890a80c26c3be0d274d89b0\jetified-annotation-experimental-1.3.0\jars\lint.jar
java.lang.UnsupportedClassVersionError: androidx/annotation/experimental/lint/ExperimentalIssueRegistry has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0

Thanks in advance




Mobile Ads SDK Forum Advisor

unread,
Jun 22, 2023, 12:28:53 PM6/22/23
to xagus...@gmail.com, google-adm...@googlegroups.com

Hi,

Thank you for reaching out to us.

With regard to your concern, for us to further check the error in our end, can you provide us the following information below?

  • Sample app project where the error is reproducible
  • Steps to replicate
  • Screen recording of the behaviors
  • App ID
  • Device name affected

You can provide the following details via reply on this thread or directly provide it to the link below.

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, you can share your files with me by performing the following steps:

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=5004Q00002mVxlSQAS&entry.80707362=00185321

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:_00D1U1174p._5004Q2mVxlS:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team


Reply all
Reply to author
Forward
0 new messages