Crash on Google Pixel

4,857 views
Skip to first unread message

CS SI

unread,
Sep 19, 2018, 9:01:37 AM9/19/18
to Google Mobile Ads SDK Developers
Dear,

I am seeing a crash on Pixel XL reported by firebase. This is reported on a PIxel XL on Android 9 only. I am using com.google.android.gms:play-services-ads:15.0.1
Here is the crash stack : 

Fatal Exception: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
       at iz.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):6)
       at ja.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):61)
       at com.google.android.gms.ads.internal.util.ap.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):23)
       at ii.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):15)
       at ii.run(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):6

Caused by java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/0000008c/AdsDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/0000008c/AdsDynamite.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
       at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
       at ad.loadClass(:com.google.android.gms.dynamite_dynamiteloader@13280081@13.2.80 (100400-211705629):25)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
       at iz.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):6)
       at ja.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):61)
       at com.google.android.gms.ads.internal.util.ap.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):23)
       at ii.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):15)
       at ii.run(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):64)

Thank you for your help.
Regards,
Matthieu

mobileadssdk-a...@google.com

unread,
Sep 19, 2018, 3:02:48 PM9/19/18
to CS SI, Google Mobile Ads SDK Developers
Hello Matthieu,

Thank you for contacting us. Could you please share the following details so I can troubleshoot the issue?
  • Frequency of the crash
  • Steps to reproduce, if any
  • Crashlytics links
  • Type of ads being served
This will help us debug the issue on our end. You can reply back privately via Reply privately to author option.

Regards,
Bharani Cherukuri
Mobile Ads SDK Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 09/19/18 09:01:37 team...@gmail.com wrote:
Dear,

I am seeing a crash on Pixel XL reported by firebase. This is reported on a PIxel XL on Android 9 only. I am using com.google.android.gms:play-services-ads:15.0.1
Here is the crash stack : 

Fatal Exception: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
       at iz.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):6)
       at ja.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):61)
       at com.google.android.gms.ads.internal.util.ap.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):23)
       at ii.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):15)
       at ii.run(:com.google.android.gms.dynamite_adsdynamite@1328...@13.2.80 (100400-211705629):6

Caused by java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/0000008c/AdsDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/0000008c/AdsDynamite.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
       at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
       at ad.loadClass(:com.google.android.gms.dynamite_dynamiteloader@13280081@13.2.80 (100400-211705629):25)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
       at iz.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):6)
       at ja.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):61)
       at com.google.android.gms.ads.internal.util.ap.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):23)
       at ii.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):15)
       at ii.run(:com.google.android.gms.dynamite_adsdynamite@1328...@13.2.80 (100400-211705629):64)

Thank you for your help.
Regards,
Matthieu

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/af5551e1-f049-4b7f-a192-f589d49e24d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

mobileadssdk-a...@google.com

unread,
Sep 20, 2018, 11:07:26 AM9/20/18
to CS SI, Google Mobile Ads SDK Developers
Hello, 

I have shared this information with the team. I will keep you posted on any further updates regarding this.

Thanks,
Bharani Cherukuri
Mobile Ads SDK Team

Henrik Klang

unread,
Sep 27, 2018, 4:16:57 PM9/27/18
to Google Mobile Ads SDK Developers
+1. Got the same crash in Firebase Crashlytics console. Any news?

Shall I add this to AndroidManifest.xml?

<uses-library android:name="org.apache.http.legacy" android:required="false" />

/ Henrik

Henrik Klang

unread,
Sep 27, 2018, 4:30:53 PM9/27/18
to Google Mobile Ads SDK Developers
* I am using Interstitial ads btw.
* Don't know about frequency of crash yet.
* Cannot reproduce in emulator.

/ Henrik

xfx...@gmail.com

unread,
Sep 28, 2018, 3:03:05 PM9/28/18
to google-adm...@googlegroups.com
Same crash reported by firebase

compileSdkVersion 28
buildToolsVersion '28.0.3'
targetSdkVersion 28

com.google.firebase:firebase-ads:15.0.1


This issue has 22 crashes affecting 1 user.

Device
Brand: Google
Model: Pixel
Orientation: Portrait
RAM free: 1.02 GB
Disk free: 14.2 GB

Operating System
Version: 9
Orientation: Portrait
Rooted: No

Fatal Exception: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
       at iz.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):6)
       at ja.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):61)
       at com.google.android.gms.ads.internal.util.ap.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):23)
       at ii.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):15)
       at ii.run(:com.google.android.gms.dynamite_adsdynamite@1328...@13.2.80 (100400-211705629):64)

Caused by java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000007/AdsDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000007/AdsDynamite.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
       at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
       at ad.loadClass(:com.google.android.gms.dynamite_dynamiteloader@13280081@13.2.80 (100400-211705629):25)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
       at iz.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):6)
       at ja.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):61)
       at com.google.android.gms.ads.internal.util.ap.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):23)
       at ii.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):15)
       at ii.run(:com.google.android.gms.dynamite_adsdynamite@1328...@13.2.80 (100400-211705629):64)

mobileadssdk-a...@google.com

unread,
Sep 28, 2018, 3:21:06 PM9/28/18
to xfx...@gmail.com, Google Mobile Ads SDK Developers
Hello Henrik, 

Our team is currently looking into the issue. I will keep you posted on any further updates regarding this. 

Thanks,
Bharani Cherukuri
Mobile Ads SDK Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.

Henrik Klang

unread,
Sep 28, 2018, 4:57:52 PM9/28/18
to Google Mobile Ads SDK Developers
Thanks. The users that got this crash has a OnePlus 6.
       at ii.run(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):64)

Caused by java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000007/AdsDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000007/AdsDynamite.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
       at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
       at ad.loadClass(:com.google.android.gms.dynamite_dynamiteloader@13280081@13.2.80 (100400-211705629):25)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
       at iz.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):6)
       at ja.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):61)
       at com.google.android.gms.ads.internal.util.ap.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):23)
       at ii.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):15)
       at ii.run(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):64)

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

Henrik Klang

unread,
Sep 29, 2018, 8:56:09 AM9/29/18
to Google Mobile Ads SDK Developers
This seems to have solved it for me in AndroidManifest.xml:

<uses-library android:name="org.apache.http.legacy" android:required="false" />

mobileadssdk-a...@google.com

unread,
Oct 1, 2018, 10:40:30 AM10/1/18
to Henrik Klang, Google Mobile Ads SDK Developers
Hello Henrik, 

Thank you for the additional details. I have shared this information with the team. I will keep you posted as soon as I have an update. 

Regards,
Bharani, AdWords API Team

secco.1...@gmail.com

unread,
Oct 8, 2018, 1:49:25 PM10/8/18
to Google Mobile Ads SDK Developers
Hello
There is the same problem with the library version: com.google.android.gms:play-services-ads:16.0.0. Stacktrace below

compileSdkVersion 28
buildToolsVersion "28.0.3"
targetSdkVersion 28

It seems that the issue is ONLY for the Android 9 devices and for the projects targetting API 28.

So as discribed here https://developer.android.com/about/versions/pie/android-9.0-changes-28 it may mean that the library is using the old apache library that has been removed from Android 9.

Isn't it related to the bug: https://issuetracker.google.com/issues/79478779 ? It was closed with the status "wont fix" and asking to add the tag proposed by Henrik:

Would it mean that all the AdMob apps targetting SDK28 HAVE TO include the tag that Henrik reported?

@Henrik: after adding the tag, have you experianced other errors from your users?

Best regards
Mac



java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
1 at jl.b(:com.google.android.gms.dynamite_adsdynamite@14366081@14.3.66 (100400-213742215):3)
2 at jk.a(:com.google.android.gms.dynamite_adsdynamite@14366081@14.3.66 (100400-213742215):3)
3 at jm.a(:com.google.android.gms.dynamite_adsdynamite@14366081@14.3.66 (100400-213742215):18)
4 at com.google.android.gms.ads.internal.util.ap.a(:com.google.android.gms.dynamite_adsdynamite@14366081@14.3.66 (100400-213742215):17)
5 at ip.a(:com.google.android.gms.dynamite_adsdynamite@14366081@14.3.66 (100400-213742215):19)
6 at ip.run(:com.google.android.gms.dynamite_adsdynamite@14366081@14.3.66 (100400-213742215):8)
7Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000081/AdsDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000081/AdsDynamite.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
8 at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
9 at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
10 at ac.loadClass(:com.google.android.gms.dynamite_dynamiteloader@14366081@14.3.66 (100400-213742215):4)
11 at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
12 ... 6 more

Henrik Klang

unread,
Oct 8, 2018, 4:48:05 PM10/8/18
to Google Mobile Ads SDK Developers
Not related to this no. One user that got the crash all the time reports that it is now stable with regards to ads.

Now I got a different error which should not be related (just showing it here for the record):

(Unable to start activity ComponentInfo{com.XYZ/com.google.android.gms.ads.AdActivity}: java.lang.IllegalStateException: Only fullscreen activities can request orientation)

Den måndag 8 oktober 2018 kl. 19:49:25 UTC+2 skrev secco.1...@gmail.com:
Hello
There is the same problem with the library version: com.google.android.gms:play-services-ads:16.0.0. Stacktrace below
compileSdkVersion 28
buildToolsVersion "28.0.3"
targetSdkVersion 28

It seems that the issue is ONLY for the Android 9 devices and for the projects targetting API 28.

So as discribed here https://developer.android.com/about/versions/pie/android-9.0-changes-28 it may mean that the library is using the old apache library that has been removed from Android 9.

Isn't it related to the bug: https://issuetracker.google.com/issues/79478779 ? It was closed with the status "wont fix" and asking to add the tag proposed by Henrik:

Would it mean that all the AdMob apps targetting SDK28 HAVE TO include the tag that Henrik reported?

@Henrik: after adding the tag, have you experianced other errors from your users?

Best regards
Mac



java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
1 at jl.b(:com.google.android.gms.dynamite_adsdynamite@14366081@14.3.66 (100400-213742215):3)
2 at jk.a(:com.google.android.gms.dynamite_adsdynamite@14366081@14.3.66 (100400-213742215):3)
3 at jm.a(:com.google.android.gms.dynamite_adsdynamite@14366081@14.3.66 (100400-213742215):18)
4 at com.google.android.gms.ads.internal.util.ap.a(:com.google.android.gms.dynamite_adsdynamite@14366081@14.3.66 (100400-213742215):17)
5 at ip.a(:com.google.android.gms.dynamite_adsdynamite@14366081@14.3.66 (100400-213742215):19)
6 at ip.run(:com.google.android.gms.dynamite_adsdynamite@1436...@14.3.66 (100400-213742215):8)
7Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000081/AdsDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000081/AdsDynamite.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
8 at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
9 at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
10 at ac.loadClass(:com.google.android.gms.dynamite_dynamiteloader@14366081@14.3.66 (100400-213742215):4)
11 at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
12 ... 6 more

Henrik Klang

unread,
Oct 19, 2018, 5:11:51 PM10/19/18
to Google Mobile Ads SDK Developers
Hello AdMob,

Any news? Alot of time has passed without any feedback.

/ Henrik

mobileadssdk-a...@google.com

unread,
Oct 22, 2018, 1:17:50 PM10/22/18
to Henrik Klang, Google Mobile Ads SDK Developers
Hi Henrik,

We don't have any update from the team yet. We will ping you on this thread if we have any new information to share.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

6 at ip.run(:com.google.android.gms.dynamite_adsdynamite@14366081@14.3.66 (100400-213742215):8)
7Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000081/AdsDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000081/AdsDynamite.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
8 at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
9 at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
10 at ac.loadClass(:com.google.android.gms.dynamite_dynamiteloader@14366081@14.3.66 (100400-213742215):4)
11 at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
12 ... 6 more

On Monday, October 1, 2018 at 4:40:30 PM UTC+2, mobileadssdk-a...@google.com wrote:
Hello Henrik, 

Thank you for the additional details. I have shared this information with the team. I will keep you posted as soon as I have an update. 

Regards,
Bharani, AdWords API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.

To post to this group, send email to google-admob-ads-sdk@googlegroups.com.

Steve W

unread,
Nov 2, 2018, 10:58:49 PM11/2/18
to Google Mobile Ads SDK Developers
I'm having the same issue in my app.  User is on Google Pixel 2, Android 9.

My app config:
compileSdkVersion 28
buildToolsVersion "28.0.3"
targetSdkVersion 28
implementation 'com.google.android.gms:play-services-ads:17.0.0'


java.lang.NoClassDefFoundError:
at jl.b (com.google.android.gms.dynamite_adsdynamite@14367081@14.3.67 (100400-216465562):3)
at jk.a (com.google.android.gms.dynamite_adsdynamite@14367081@14.3.67 (100400-216465562):3)
at jm.a (com.google.android.gms.dynamite_adsdynamite@14367081@14.3.67 (100400-216465562):18)
at com.google.android.gms.ads.internal.util.ap.a (com.google.android.gms.dynamite_adsdynamite@14367081@14.3.67 (100400-216465562):17)
at ip.a (com.google.android.gms.dynamite_adsdynamite@14367081@14.3.67 (100400-216465562):19)
at ip.run (com.google.android.gms.dynamite_adsdynamite@14367081@14.3.67 (100400-216465562):8)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass (ClassLoader.java:379)
at ac.loadClass (com.google.android.gms.dynamite_dynamiteloader@14367081@14.3.67 (100400-216465562):4)
at java.lang.ClassLoader.loadClass (ClassLoader.java:312)

Baptiste Roussel

unread,
Nov 5, 2018, 6:31:27 AM11/5/18
to google-adm...@googlegroups.com
Same thing for me but related to HUAWEI LYA-L29 Android 9

mobileadssdk-a...@google.com

unread,
Nov 5, 2018, 1:55:25 PM11/5/18
to Steve W, Google Mobile Ads SDK Developers
Hi all,

We are looking into the issue. We will update you on this thread when we have any information from the team.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 11/02/18 22:58:49 donut...@yahoo.com wrote:
I'm having the same issue in my app.  User is on Google Pixel 2, Android 9.

My app config:
compileSdkVersion 28
buildToolsVersion "28.0.3"
targetSdkVersion 28
implementation 'com.google.android.gms:play-services-ads:17.0.0'


java.lang.NoClassDefFoundError:
at jl.b (com.google.android.gms.dynamite_adsdynamite@14367081@14.3.67 (100400-216465562):3)
at jk.a (com.google.android.gms.dynamite_adsdynamite@14367081@14.3.67 (100400-216465562):3)
at jm.a (com.google.android.gms.dynamite_adsdynamite@14367081@14.3.67 (100400-216465562):18)
at com.google.android.gms.ads.internal.util.ap.a (com.google.android.gms.dynamite_adsdynamite@14367081@14.3.67 (100400-216465562):17)
at ip.a (com.google.android.gms.dynamite_adsdynamite@14367081@14.3.67 (100400-216465562):19)
at ip.run (com.google.android.gms.dynamite_adsdynamite@14367081@14.3.67 (100400-216465562):8)
Caused by: java.lang.ClassNotFoundException:
at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:134)
at java.lang.ClassLoader.loadClass (ClassLoader.java:379)
at ac.loadClass (com.google.android.gms.dynamite_dynamiteloader@1436...@14.3.67 (100400-216465562):4)
at java.lang.ClassLoader.loadClass (ClassLoader.java:312)
4 at com.google.android.gms.ads.internal.util.ap.a(:com.google.android.gms.dynamite_adsdynamite@1436...@14.3.66 (100400-213742215):17)
5 at ip.a(:com.google.android.gms.dynamite_adsdynamite@14366081@14.3.66 (100400-213742215):19)
6 at ip.run(:com.google.android.gms.dynamite_adsdynamite@14366081@14.3.66 (100400-213742215):8)
7Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000081/AdsDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000081/AdsDynamite.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
8 at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
9 at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
10 at ac.loadClass(:com.google.android.gms.dynamite_dynamiteloader@14366081@14.3.66 (100400-213742215):4)
11 at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
12 ... 6 more

On Monday, October 1, 2018 at 4:40:30 PM UTC+2, mobileadssdk-a...@google.com wrote:
Hello Henrik, 

Thank you for the additional details. I have shared this information with the team. I will keep you posted as soon as I have an update. 

Regards,
Bharani, AdWords API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsubscrib...@googlegroups.com.

--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.

Vairavan Srinivasan

unread,
Nov 10, 2018, 12:58:55 PM11/10/18
to Google Mobile Ads SDK Developers
Previously published working apps are now failing in Pixel2 XL. It was using Firebase ads 15.0.1
    

java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
        at jl.b(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):3)
        at jk.a(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):3)
        at jm.a(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):18)
        at com.google.android.gms.ads.internal.util.ap.a(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):17)
        at ip.a(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):19)
        at ip.run(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):8)
     Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000067/AdsDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000067/AdsDynamite.apk!/lib/arm64-v8a, /system/lib64]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
        at ac.loadClass(:com.google.android.gms.dynamite_dynamiteloader@14369081@14.3.69 (100400-217746893):4)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
        at jl.b(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):3) 
        at jk.a(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):3) 
        at jm.a(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):18) 
        at com.google.android.gms.ads.internal.util.ap.a(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):17) 
        at ip.a(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):19) 
        at ip.run(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):8) 

Vairavan Srinivasan

unread,
Nov 10, 2018, 1:08:10 PM11/10/18
to Google Mobile Ads SDK Developers
<uses-library
     
android:name="org.apache.http.legacy"
     
android:required="false" />

On Saturday, November 10, 2018 at 12:58:55 PM UTC-5, Vairavan Srinivasan wrote:
Previously published working apps are now failing in Pixel2 XL. It was using Firebase ads 15.0.1
java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
        at jl.b(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):3)
        at jk.a(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):3)
        at jm.a(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):18)
        at com.google.android.gms.ads.internal.util.ap.a(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):17)
        at ip.a(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):19)
        at ip.run(:com.google.android.gms.dynamite_adsdynamite@1436...@14.3.69 (100400-217746893):8)
     Caused by: java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000067/AdsDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000067/AdsDynamite.apk!/lib/arm64-v8a, /system/lib64]]
        at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
        at ac.loadClass(:com.google.android.gms.dynamite_dynamiteloader@14369081@14.3.69 (100400-217746893):4)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
        at jl.b(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):3) 
        at jk.a(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):3) 
        at jm.a(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):18) 
        at com.google.android.gms.ads.internal.util.ap.a(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):17) 
        at ip.a(:com.google.android.gms.dynamite_adsdynamite@14369081@14.3.69 (100400-217746893):19) 
        at ip.run(:com.google.android.gms.dynamite_adsdynamite@1436...@14.3.69 (100400-217746893):8) 

Henrik Klang

unread,
Nov 13, 2018, 8:55:07 AM11/13/18
to Google Mobile Ads SDK Developers
It's ridiculous we have to wait this long for an answer.

Henrik Klang

unread,
Nov 13, 2018, 8:56:03 AM11/13/18
to Google Mobile Ads SDK Developers
It's taken well over 2 months now.

mobileadssdk-a...@google.com

unread,
Nov 13, 2018, 3:10:08 PM11/13/18
to Henrik Klang, Google Mobile Ads SDK Developers
Hi Henrik,

We are looking into this issue. We will make sure to update you via this thread when we have more information to share about the issue.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

My app config:
Caused by: java.lang.ClassNotFoundException:
at ac.loadClass (com.google.android.gms.dynamite_dynamiteloader@14367081@14.3.67 (100400-216465562):4)
at java.lang.ClassLoader.loadClass (ClassLoader.java:312)

Vairavan Srinivasan

unread,
Nov 14, 2018, 11:16:53 AM11/14/18
to Google Mobile Ads SDK Developers
With com.google.firebase:firebase-ads:17.1.1, it seems to be working fine.
Though, i'm not able to find the release notes.

Vairavan Srinivasan

unread,
Nov 16, 2018, 9:00:51 AM11/16/18
to Google Mobile Ads SDK Developers
It was working fine yesterday and now it has started to crash again in Pixel2 XL.
Is there some kind of dependency on play services?

mobileadssdk-a...@google.com

unread,
Nov 16, 2018, 3:41:24 PM11/16/18
to Vairavan Srinivasan, Google Mobile Ads SDK Developers
Hi Srinivasan,

Th issue is not resolved yet. Our team is working on this and I'll update you via this thread if I have any new information about the issue.

Regards,
Deepika Uragayala
Mobile Ads SDK Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Peter Macias

unread,
Nov 18, 2018, 9:31:16 AM11/18/18
to google-adm...@googlegroups.com
Got a same error in alpha testing. The phone is Pixel XL. ETA on the solution? and any other way around to fix this issue? 

secco.1...@gmail.com

unread,
Nov 19, 2018, 7:34:45 AM11/19/18
to Google Mobile Ads SDK Developers
Hi Peter
There is an 'unofficial' (not coming from Google) but working workaround of this issue
It was first described by Henrik, then by me and lastly by Vairavan, all in this thread

The trick is the same as for the google maps implementation on Android P. Just put the following tag in your manifest file:

<uses-library
     
android:name="org.apache.http.legacy"
     
android:required="false" />

In my apps, since the change at the beginning of October, the issue has never occurred again

So meanwhile Google is working on an official solution of the problem, you can use this workaround to solve it immediately on your side

Greetings
Mac

Rasmus Vernhamn

unread,
Dec 18, 2018, 6:11:00 AM12/18/18
to Google Mobile Ads SDK Developers
Hey @Henrik 

Did you solve the new error that you recieved? I've got both of em and would like to find a solution for the latter one. I found this thread: https://groups.google.com/forum/#!topic/google-admob-ads-sdk/Yniv0UNCc74 which mentions your bug, but no solution. I got in contact with one user who had the error and I somewhere, someone mentioned adding this to AndroidManifest would solve a similar issue:

<activity
    android:name="com.google.android.gms.ads.AdActivity"
    android:theme="@android:style/Theme.NoTitleBar.Fullscreen"
    tools:replace="android:theme"/>

I confirmed with him that he no longer recieves the crashes after adding this. Can you confirm as well? I have no clue why this would make any difference though.

Pieter Mulder

unread,
Jan 17, 2019, 2:56:40 AM1/17/19
to Google Mobile Ads SDK Developers
Has there been any progress on this?

Obviously I'll put the workaround in place to prevent the crashes, but we don't know what the unintended consequences of the workaround will be.  I would much prefer if Google could either fix the issue or publish this as a known workaround which will not impact anything else.

mobileadssdk...@google.com

unread,
Jan 17, 2019, 5:39:46 AM1/17/19
to Pieter Mulder, Google Mobile Ads SDK Developers
Hi Pieter,

The team is still actively working on this. On the other hand, the workaround mentioned is actually suggested by the team as well, for the meantime, if you are targeting Android 9 devices.

That said, I will raise your concerns to the team and I'll keep you posted accordingly.

Regards,
Ivan Bautista
Mobile Ads SDK Team


antonio....@gmail.com

unread,
Jan 18, 2019, 5:59:02 AM1/18/19
to google-adm...@googlegroups.com
I'm experiencing a similar issue since a while with AdMob. No dynamite involved, but gsm stacktrace is obfuscated so I can't tell about that.
All crash reports come from Android 9 devices. I'm using both interstitials and standard banners.
I'm unable to reproduce this issue in emulators and I don't have Android 9 physical devices. Many users are complaining crashes at the opening of the app, so supposedly when MobileAds.initialize() is called.

Cattura.PNG


Is the workaround working? It is safe to put it in the manifest without any collateral issues?

mobileadssdk...@google.com

unread,
Jan 18, 2019, 5:22:43 PM1/18/19
to Google Mobile Ads SDK Developers
Hello, 

This is a known issue and our team is looking into this. I will keep you posted on the updates.

Thanks,
Bharani Cherukuri
Mobile Ads SDK Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Yac Farm

unread,
Jan 21, 2019, 2:50:45 AM1/21/19
to google-adm...@googlegroups.com
someone suggests android manifest "com.google.android.gms.ads.AdActivity" is a problem, so change it to next. but it doesn't fix the issue.

"<activity android:name="com.google.android.gms.ads.AdActivity" android:exported="false" android:theme="@android:style/Theme.NoTitleBar.Fullscreen" tools:replace="android:theme" />"
Message has been deleted
Message has been deleted

livetv...@gmail.com

unread,
Apr 1, 2019, 1:28:09 PM4/1/19
to Google Mobile Ads SDK Developers
Having same issue with 
implementation 'com.google.android.gms:play-services-ads:17.2.0'
on my own Galaxy S9 with Android Pie i don't get any crush or anything but in my console i saw 11 crushes with two people
one using Mate 20 Pro with Android 9
and other one having Galaxy S10 with Android 9

IDK why me not having crush even me using same Android 9 but others are.

mobileadssdk...@google.com

unread,
Apr 1, 2019, 3:06:37 PM4/1/19
to livetv...@gmail.com, Google Mobile Ads SDK Developers
Hello, 

Could you please share the following details to troubleshoot this?
  • Complete stack trace
  • Type of Ads being served
  • Frequency of the crash
  • Sample project along with the steps to replicate this
This will help us debug the issue.

SixDayStudio

unread,
Apr 8, 2019, 7:34:44 PM4/8/19
to google-adm...@googlegroups.com
Having same issue here:

EDIT : I'm using :
minifyEnabled true
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'


java.lang.NoClassDefFoundError:
  at jr.b (jr.java:3)
 at jq.a (jq.java:3)
 at js.a (js.java:19)
 at com.google.android.gms.ads.internal.util.ar.a (ar.java:15)
 at iv.a (iv.java:20)
 at iv.run (iv.java:8)
Caused by: java.lang.ClassNotFoundException:
  at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:134)
 at java.lang.ClassLoader.loadClass (ClassLoader.java:379)
 at ac.loadClass (ac.java:4)
 at java.lang.ClassLoader.loadClass (ClassLoader.java:312)
 at jr.b (jr.java:3)
 at jq.a (jq.java:3)
 at js.a (js.java:19)
 at com.google.android.gms.ads.internal.util.ar.a (ar.java:15)
 at iv.a (iv.java:20)
 at iv.run (iv.java:8)

This issue occurs on Android 9 only, but not in all of device targeting this verison .
The issue appears after I migrated to the new AndroidX library.

Part of my build gradle:

implementation 'androidx.appcompat:appcompat:1.1.0-alpha04'
implementation 'androidx.browser:browser:1.0.0'
implementation 'androidx.vectordrawable:vectordrawable-animated:1.1.0-alpha01'
implementation 'com.google.android.material:material:1.1.0-alpha05'
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'androidx.cardview:cardview:1.0.0'
implementation 'androidx.recyclerview:recyclerview:1.1.0-alpha04'
implementation 'com.google.code.gson:gson:2.8.4'

implementation 'com.google.firebase:firebase-core:16.0.8'
implementation 'com.google.firebase:firebase-messaging:17.6.0'
implementation 'com.google.firebase:firebase-auth:16.2.1'
implementation 'com.google.firebase:firebase-ads:17.2.0'

Type of ad is banner.

mobileadssdk...@google.com

unread,
Apr 9, 2019, 10:51:58 AM4/9/19
to SixDayStudio, Google Mobile Ads SDK Developers
Hello, 

Could you please share the complete un-obfuscated stack trace for this crash, so I can share it with the team? If the crash is reproducible on any specific device, please share the steps to replicate this. 

numan butt

unread,
Apr 16, 2019, 8:24:31 AM4/16/19
to Google Mobile Ads SDK Developers
 
Having same issue here: Android 9
  

java.lang.NoClassDefFoundError

at lt.b (lt.java:2)

at ls.a (ls.java:1)

at lu.a (lu.java:18)

at com.google.android.gms.ads.internal.util.ar.a (ar.java:10)

at kx.a (kx.java:7)

at kx.run (kx.java:2)

Caused by: java.lang.ClassNotFoundException

at dalvik.system.BaseDexClassLoader.findClass (BaseDexClassLoader.java:134)

at java.lang.ClassLoader.loadClass (ClassLoader.java:379)

at ac.loadClass (ac.java:4)

at java.lang.ClassLoader.loadClass (ClassLoader.java:312)

at lt.b (lt.java:2)

at ls.a (ls.java:1)

at lu.a (lu.java:18)

at com.google.android.gms.ads.internal.util.ar.a (ar.java:10)

at kx.a (kx.java:7)

at kx.run (kx.java:2) 

This issue occurs in Some  Android 9 devices.

api 'com.google.firebase:firebase-ads:17.2.0'
api 'com.google.firebase:firebase-analytics:16.3.0'



mobileadssdk...@google.com

unread,
Apr 16, 2019, 11:23:44 AM4/16/19
to numan butt, Google Mobile Ads SDK Developers
Hello, 

I have shared the details with the team. I will keep you posted on the updates.

Thanks,
Bharani Cherukuri
Mobile Ads SDK Team

Jefvin Viriya

unread,
Apr 17, 2019, 2:19:34 AM4/17/19
to Google Mobile Ads SDK Developers
Hello,

I've been using admob for all of my games, and currently 15+ of my games reporting this issue regardless the type of device.
Here's a screenshot one of our crashlytics:

Screen Shot 2019-04-17 at 12.52.48.png

It's happened on 100% of Android 9, and in last 7 days, it has affected 34 of our users.
Currently, all of my game that's played online with admob sdk experienced crash. The game works fine if played offline.
So, I've been searching work around for this day by day, but unfortunately I haven't found any workaround in this.

I got lot's of type of the error, but all of them is coming from ac.loadClass:

Here's 2 of the logcat error, the difference is bold:
1.
Fatal Exception: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
       at lt.b(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:2)
       at ls.a(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:1)
       at lu.a(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:18)
       at com.google.android.gms.ads.internal.util.ar.a(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:10)
       at kx.a(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:7)
       at kx.run(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:2)
Caused by java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000010/dl-AdsFdrDynamite.integ_30000008.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000010/n/arm64-v8a, /system/lib64]]
       at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
       at ac.loadClass(:com.google.android.gms.dynamite_dynamiteloader@16089083@16.0.89 (100408-239467275):4)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
       at lt.b(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:2)
       at ls.a(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:1)
       at lu.a(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:18)
       at com.google.android.gms.ads.internal.util.ar.a(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:10)
       at kx.a(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:7)
       at kx.run(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:2)

2.
Fatal Exception: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
       at lt.b(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:2)
       at ls.a(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:1)
       at lu.a(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:18)
       at com.google.android.gms.ads.internal.util.ar.a(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:10)
       at kx.a(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:7)
       at kx.run(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:2)
Caused by java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000021/dl-AdsFdrDynamite.integ_30000000.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000021/n/arm64-v8a, /system/lib64, /vendor/lib64]]
       at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
       at ac.loadClass(:com.google.android.gms.dynamite_dynamiteloader@16089081@16.0.89 (100400-239467275):4)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
       at lt.b(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:2)
       at ls.a(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:1)
       at lu.a(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:18)
       at com.google.android.gms.ads.internal.util.ar.a(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:10)
       at kx.a(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:7)
       at kx.run(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:2)

I've tried upgrading and downgrading admob sdk version, but still unable to solve this issue.
Does anyone have workaround on this or which SDK that should be used? Currently, I'm using this sdk version: com.google.firebase:firebase-ads:15.0.1

Thank you.

secco.1...@gmail.com

unread,
Apr 17, 2019, 2:53:34 AM4/17/19
to Google Mobile Ads SDK Developers
Hello

There is an 'unofficial' (not coming from Google) but working workaround of this issue
It was first described by Henrik, then by me and lastly by Vairavan, all in this thread (in September/October 2018)

The trick is the same as for the google maps implementation on Android P. Just put the following tag in your manifest file:

<uses-library
     
android:name="org.apache.http.legacy"
     
android:required="false" />

In my apps, since the change at the beginning of October, the issue has never occurred again

So meanwhile Google is working on an official solution of the problem, you can use this workaround to solve it immediately on your side

Greetings
Mac




On Wednesday, April 17, 2019 at 8:19:34 AM UTC+2, Jefvin Viriya wrote:
Hello,

I've been using admob for all of my games, and currently 15+ of my games reporting this issue regardless the type of device.
Here's a screenshot one of our crashlytics:

Screen Shot 2019-04-17 at 12.52.48.png

It's happened on 100% of Android 9, and in last 7 days, it has affected 34 of our users.
Currently, all of my game that's played online with admob sdk experienced crash. The game works fine if played offline.
So, I've been searching work around for this day by day, but unfortunately I haven't found any workaround in this.

I got lot's of type of the error, but all of them is coming from ac.loadClass:

Here's 2 of the logcat error, the difference is bold:
1.
Fatal Exception: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
       at lt.b(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:2)
       at ls.a(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:1)
       at lu.a(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:18)
       at com.google.android.gms.ads.internal.util.ar.a(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:10)
       at kx.a(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:7)
       at kx.run(:com.google.android.gms.policy_ads_fdr_dynamite@30...@30004.238272502.238272502:2)
Caused by java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000010/dl-AdsFdrDynamite.integ_30000008.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000010/n/arm64-v8a, /system/lib64]]
       at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
       at ac.loadClass(:com.google.android.gms.dynamite_dynamiteloader@16089083@16.0.89 (100408-239467275):4)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
       at lt.b(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:2)
       at ls.a(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:1)
       at lu.a(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:18)
       at com.google.android.gms.ads.internal.util.ar.a(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:10)
       at kx.a(:com.google.android.gms.policy_ads_fdr_dynamite@30004@30004.238272502.238272502:7)
       at kx.run(:com.google.android.gms.policy_ads_fdr_dynamite@30...@30004.238272502.238272502:2)

2.
Fatal Exception: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
       at lt.b(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:2)
       at ls.a(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:1)
       at lu.a(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:18)
       at com.google.android.gms.ads.internal.util.ar.a(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:10)
       at kx.a(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:7)
       at kx.run(:com.google.android.gms.policy_ads_fdr_dynamite@30...@30000.238272502.238272502:2)
Caused by java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/00000021/dl-AdsFdrDynamite.integ_30000000.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/00000021/n/arm64-v8a, /system/lib64, /vendor/lib64]]
       at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
       at ac.loadClass(:com.google.android.gms.dynamite_dynamiteloader@16089081@16.0.89 (100400-239467275):4)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
       at lt.b(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:2)
       at ls.a(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:1)
       at lu.a(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:18)
       at com.google.android.gms.ads.internal.util.ar.a(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:10)
       at kx.a(:com.google.android.gms.policy_ads_fdr_dynamite@30000@30000.238272502.238272502:7)
       at kx.run(:com.google.android.gms.policy_ads_fdr_dynamite@30...@30000.238272502.238272502:2)

Jefvin Viriya

unread,
Apr 17, 2019, 8:00:43 AM4/17/19
to Google Mobile Ads SDK Developers
Hello,

Thank you for your quick reply.
I have tried your solution, and seems worked!
Since Android-9, google by default not include the legacy http library. Hope the link can be useful for people wandering what could happen to their app when including it to their manifest.

Thank you.

malikahs...@gmail.com

unread,
Apr 27, 2019, 12:02:09 PM4/27/19
to Google Mobile Ads SDK Developers
Getting same issue. All on Android P. I have attached the details of the issue reported in Crashlytics since it started from March 26 after I updated the app. I am using 'com.google.firebase:firebase-ads:17.2.0'

On Wednesday, September 19, 2018 at 6:01:37 PM UTC+5, CS SI wrote:
Dear,

I am seeing a crash on Pixel XL reported by firebase. This is reported on a PIxel XL on Android 9 only. I am using com.google.android.gms:play-services-ads:15.0.1
Here is the crash stack : 

Fatal Exception: java.lang.NoClassDefFoundError: Failed resolution of: Lorg/apache/http/ProtocolVersion;
       at iz.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):6)
       at ja.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):61)
       at com.google.android.gms.ads.internal.util.ap.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):23)
       at ii.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):15)
       at ii.run(:com.google.android.gms.dynamite_adsdynamite@1328...@13.2.80 (100400-211705629):6

Caused by java.lang.ClassNotFoundException: Didn't find class "org.apache.http.ProtocolVersion" on path: DexPathList[[zip file "/data/user_de/0/com.google.android.gms/app_chimera/m/0000008c/AdsDynamite.apk"],nativeLibraryDirectories=[/data/user_de/0/com.google.android.gms/app_chimera/m/0000008c/AdsDynamite.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
       at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
       at ad.loadClass(:com.google.android.gms.dynamite_dynamiteloader@13280081@13.2.80 (100400-211705629):25)
       at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
       at iz.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):6)
       at ja.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):61)
       at com.google.android.gms.ads.internal.util.ap.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):23)
       at ii.a(:com.google.android.gms.dynamite_adsdynamite@13280081@13.2.80 (100400-211705629):15)
       at ii.run(:com.google.android.gms.dynamite_adsdynamite@1328...@13.2.80 (100400-211705629):64)

Thank you for your help.
Regards,
Matthieu
codematics.universal.tv.remote.control_issue_crash_5CC471510342000150D47F0C8958E0B5_DNE_0_v2.txt

yanchen...@gmail.com

unread,
Apr 28, 2019, 1:28:18 PM4/28/19
to Google Mobile Ads SDK Developers
We have the same issues which only happen on Android 9

We are using the following SDK version

minSdkVersion 14
targetSdkVersion 28

This is our crash report

mobileadssdk...@google.com

unread,
Apr 29, 2019, 12:45:39 PM4/29/19
to yanchen...@gmail.com, Google Mobile Ads SDK Developers
Hi all,

So there is a fix for this in the Ads SDK which will be launched soon, however in the meantime, we believe this crash is caused by the Android 9 updates to deprecate the Apache HTTP client as noted here.

To resolve the crashes in the meantime we recommend updating your AndroidManifest.xml to include the following:

<uses-library android:name="org.apache.http.legacy" android:required="false"/>

As an alternative to using the runtime Apache library, apps can bundle their own version of the org.apache.http library in their APK. If you do this, you must repackage the library (with a utility like Jar Jar) to avoid class compatibility issues with the classes provided in the runtime.


Regards

Sam


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
--

---
You received this message because you are subscribed to the Google Groups "Google Mobile Ads SDK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.
To post to this group, send email to google-admob-ads-sdk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-admob-ads-sdk/aab97fe9-d7ef-4c43-861c-d86d15ea58a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

JBarbosa

unread,
May 20, 2019, 1:26:31 PM5/20/19
to Google Mobile Ads SDK Developers
Do you already have a version with this fix? 


El lunes, 29 de abril de 2019, 13:45:39 (UTC-3), mobileadssdk-forumadvisor escribió:
Hi all,

So there is a fix for this in the Ads SDK which will be launched soon, however in the meantime, we believe this crash is caused by the Android 9 updates to deprecate the Apache HTTP client as noted here.

To resolve the crashes in the meantime we recommend updating your AndroidManifest.xml to include the following:

<uses-library android:name="org.apache.http.legacy" android:required="false"/>
Note: The android:required="false" attribute is required for apps that have a minimum SDK of 23 or lower, because on devices with API levels lower than 24, the org.apache.http.legacy library is not available. (On those devices, the Apache HTTP classes are available on the bootclasspath.)

As an alternative to using the runtime Apache library, apps can bundle their own version of the org.apache.http library in their APK. If you do this, you must repackage the library (with a utility like Jar Jar) to avoid class compatibility issues with the classes provided in the runtime.


Regards

Sam

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+ page:
    http://googleadsdeveloper.blogspot.com
    https://plus.google.com/115658573333388777174/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

Mobile Ads SDK Forum Advisor Prod

unread,
May 21, 2019, 6:02:49 PM5/21/19
to josina...@gmail.com, google-adm...@googlegroups.com

Hi,

No sorry this is not released yet and we don't have a specific release date.

I suggest continuing with the workaround for now.
 

Regards

Sam



ref:_00D1U1174p._5001UAqAYk:ref

huachu,n- shanmu

unread,
Mar 15, 2020, 10:57:06 PM3/15/20
to Google Mobile Ads SDK Developers
Same crash!!!

2019年5月22日水曜日 6時02分49秒 UTC+8 mobileadssdkforumadvisor:

Mobile Ads SDK Forum Advisor Prod

unread,
Mar 16, 2020, 12:27:30 PM3/16/20
to tanaka...@gmail.com, google-adm...@googlegroups.com
Hi,

Thanks for your report. Can you please provide the below details:
  • Stacktrace
  • Android API version(s)
  • Google Mobile Ads SDK version(s)
  • Device type(s)
  • Crash frequency
  • Date crash started occurring
Thanks and best regards
Reply all
Reply to author
Forward
0 new messages