Android Question java.lang.NoClassDefFoundError: aewt

Angel Garcia

Member
Licensed User
Hello All,
I'm deploying a new App on PlayStore and, on the Pre-Launch report I'm having this ANR Issue with 2 devices:

java.lang.NoClassDefFoundError: aewt

FATAL EXCEPTION: Firebase-Messaging-Intent-Handle
Process: com.google.android.youtube, PID: 29087
java.lang.NoClassDefFoundError: aewt
at aewu.b(PG:1)
at duc.a(PG:230)
at duc.get(PG:247)
at aevw.b(PG:1)
at dud.al(PG:5)
at dud.aw(PG:4)
at dud.bg(PG:8)
at duc.a(PG:232)
at duc.get(PG:247)
at afke.a(PG:1)
at aeri.b(PG:1)
at dud.fv(PG:4)
at duc.c(PG:269)
at duc.get(PG:247)
at amfk.a(PG:1)
at eiu.K(PG:5)
at dud.fV(PG:7)
at duc.d(PG:334)
at duc.get(PG:247)
at com.google.android.apps.youtube.app.common.notification.FcmMessageListenerService.b(PG:1)
at com.google.firebase.messaging.FirebaseMessagingService.g(PG:53)
at avgp.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at usj.run(PG:2)
at java.lang.Thread.run(Thread.java:831)

One device is Huawei SDK 21, and the other one is a Nokia (SDK 27)

I have found in this link https://github.com/firebase/quickstart-unity/issues/861 that could be related to the min SDK, a workaround suggest to increase the minSDK in the manifest Editor to 22, (mine is actually set to 14).

So my question is if that workaround is the right way to go or what are the implications to increase the min-SDK.

Many thanks in advance

Regards!
 

Angel Garcia

Member
Licensed User
Hello again,
Sadly, updating the minSDK to 22 didn't fix the issue, i still got that error on a Nokia Android 8.1 SDK 27, but surprisingly the error on Huawei (SDK 21) is gone.
Any thoughts how to fix it?, or nothing can be done for now?
Many thanks to all for your help!
 
Upvote 0

Angel Garcia

Member
Licensed User
UPDATE.
After a while the problem is gone when updating to min SDK 22, i lose some devices, but i think this could be a valid workaround
Regards
 
Upvote 0

pliroforikos

Active Member
Licensed User
I'm having the same issue and i didn't find any solution.
I am aploading an app for internal test but some times i have the same error always to these particularly two devices, Huawei P8 SDK21 and/or Nokia One (SDK 27)
I removed SDK and installed again without any luck.
FATAL EXCEPTION: Firebase-Messaging-Intent-Handle
Process: com.google.android.youtube, PID: 25335
java.lang.NoClassDefFoundError: aewt
at aewu.b(PG:1)
at duc.a(PG:230)
at duc.get(PG:247)
at aevw.b(PG:1)
at dud.al(PG:5)
at dud.aw(PG:4)
at dud.bg(PG:8)
at duc.a(PG:232)
at duc.get(PG:247)
at afke.a(PG:1)
at aeri.b(PG:1)
at dud.fv(PG:4)
at duc.c(PG:269)
at duc.get(PG:247)
at amfk.a(PG:1)
at eiu.K(PG:5)
at dud.fV(PG:7)
at duc.d(PG:334)
at duc.get(PG:247)
at com.google.android.apps.youtube.app.common.notification.FcmMessageListenerService.b(PG:1)
at com.google.firebase.messaging.FirebaseMessagingService.g(PG:53)
at avgp.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at usj.run(PG:2)
at java.lang.Thread.run(Thread.java:831)

I thought it was something about my Manifest or a lib but i cant find something. Any help please?

Manifest:
AddManifestText(
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="29"/>
<supports-screens android:largeScreens="true"
    android:normalScreens="true"
    android:smallScreens="true"
    android:anyDensity="true"/>
<uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/>)  
SetApplicationAttribute(android:icon, "@drawable/icon")
SetApplicationAttribute(android:label, "$LABEL$")
SetApplicationAttribute(android:allowBackup, "false")
SetApplicationAttribute(android:usesCleartextTraffic, "true")
AddPermission(android.permission.CAMERA)
AddApplicationText(<meta-data android:name="com.google.android.gms.vision.DEPENDENCIES" android:value="barcode,,face"/>)
CreateResourceFromFile(Macro, Themes.LightTheme)

1608402442469.png
 
Last edited:
Upvote 0

Angel Garcia

Member
Licensed User
Yep,
After a second update to new version the problem is gone, apparently as Erel said was an issue on Firebase itself.
You don't have to worry about this anymore, the only remaining issue i have is the the "Cleartext traffic allowed for all domains " security issue on the pre-launch report. ?
Regards
 
Upvote 0
Top