Issue with play-services-basement:18.0.2 in Android 8.0.0

857 views
Skip to first unread message

Abhishek Dhyani

unread,
May 23, 2022, 12:25:20 PM5/23/22
to Google Mobile Ads SDK Developers
Hi Google SDK team,

Our team got stuck in an issue. We have recently updated our play-services-basement sdk from 18.0.1 to 18.0.2. We noticed that our app has started to crash, "particularly" on Android 8.0.0. We have also tried using variety of Google Ads Sdk Versions but problem remains the same. Notably, play-services-basement:18.0.1 works fine in Android 8.0.0. 

Findings - 

  1. with play-services-basement:18.0.1 - WORKING FINE IN ALL OS VERSION TESTED (12, 11, 10, 8.1, 8.0, 5.0)
  2. with play-services-basement:18.0.2 - CRASHING IN ONLY OS VERSION 8.0.0
  3. play-services-basement:18.0.2 with Google Ads 20.3.0, 20.4.0, 20.5.0, 20.6.0 (Latest) - CRASHING IN ONLY 8.0.0 VERSION

We are pretty sure that play-services-basement:18.0.2 is crashing/misbehaving, particularly in Android Version 8.0.0 with all versions of Google ads (>20.3.0). Seems like 18.0.2 is unstable or not backward compatible with Android 8.0.0

CRASH LOGS :- 

Fatal Exception: java.lang.IncompatibleClassChangeError: The method 'java.lang.Class java.lang.Object.getClass()' was expected to be of type interface but instead was found to be of type virtual (declaration of 'com.google.android.gms.dynamic.ObjectWrapper' appears in /data/app/ae.etisalat.smiles-pyNuJ-7iWEwjh-0qYjEK6w==/base.apk:classes2.dex)

at com.google.android.gms.dynamic.ObjectWrapper.unwrap(com.google.android.gms:play-services-basement@@18.0.2:4)
at com.google.android.gms.internal.ads.zzboo.zze(com.google.android.gms:play-services-ads-lite@@20.3.0:1)
at com.google.android.gms.internal.ads.zzbns.zzbR(com.google.android.gms:play-services-ads-lite@@20.3.0:3)
at com.google.android.gms.internal.ads.zzht.onTransact(com.google.android.gms:play-services-ads-base@@20.3.0:3)
at android.os.Binder.transact(Binder.java:612)
at aed.be(aed.java:2)
at com.google.android.gms.ads.nonagon.ad.banner.f.run(f.java:3)
at android.os.Handler.handleCallback(Handler.java:789)
at android.os.Handler.dispatchMessage(Handler.java:98)
at arh.a(arh.java)
at com.google.android.gms.ads.internal.util.f.a(f.java:1)
at arh.dispatchMessage(arh.java)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6944)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)


Thanks, 
Looking forward to hear from you. Any help would be appreciated. 

Mobile Ads SDK Forum Advisor

unread,
May 24, 2022, 10:20:43 AM5/24/22
to trick...@gmail.com, google-adm...@googlegroups.com

Hi Abhishek,

Thank you for reaching out to us.

Can you provide us the following details below so that we can further check this?

  • Sample app project
  • Steps to replicate

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=5004Q00002bCeJTQA0&entry.80707362=00108721
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.

Regards,

Google Logo
Princess Pamela
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2bCeJT:ref
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Mobile Ads SDK Forum Advisor

unread,
Sep 21, 2022, 3:09:09 AM9/21/22
to antoin...@gmail.com, google-adm...@googlegroups.com

Hi Antoine,

Thank you for reaching out to us.

Can you confirm if you're able to encounter the same crashes on this thread? If yes, can you provide us more information from your end so that we can provide it to the rest of the team for additional information? You can provide it at the link below.

Mobile Ads SDK Forum Advisor

unread,
Sep 21, 2022, 2:54:00 PM9/21/22
to antoin...@gmail.com, google-adm...@googlegroups.com
Hi Antoine,

Thank you for updating us and I'm glad that you were able to resolved the issue using the latest version of the SDK.

If you have any other concerns related to Mobile Ads SDK, please provide us the details. We'll be happy to assist you.

Regards,
Google Logo
Teejay Wennie
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2bCeJT:ref

Jonathan ANTOINE

unread,
Sep 23, 2022, 12:35:43 AM9/23/22
to Mobile Ads SDK Forum Advisor, google-adm...@googlegroups.com
I was able to but not I found out it to be fixed in the latest version. Sorry for the false positive 

Jonathan ANTOINE

From: Mobile Ads SDK Forum Advisor <mobile...@forumsupport.google>
Sent: Wednesday, September 21, 2022 9:08:49 AM
To: antoin...@gmail.com <antoin...@gmail.com>
Cc: google-adm...@googlegroups.com <google-adm...@googlegroups.com>
Subject: Re: [google-admob-ads-sdk] Issue with play-services-basement:18.0.2 in Android 8.0.0
 
Reply all
Reply to author
Forward
0 new messages