Hi there,

I am receiving hundred of error reports of the type "
java.lang.NoClassDefFoundError" from my users that so far I have been 
unable to reproduce. These started to happen a couple of releases ago, with 
a change that is not relevant at all for the case because it is an update 
of a jar library that has nothing to see with that class. 

Also *I know positively that such class is in the apk*, because I have 
checked it by unzipping the apk and using dexdump to see what is inside 
classes.dex (unnecessary effort anyway, since if the class definition 
wasn't there, the crash would happen always).

It seems like *the older the Android version, the highest 
the possibility of crash*: 2.3.6 gets about 50% of all the crashes (I 
attach a screenshot with those). *But* I have tried it in a 2.3.6 Android 
emulator and it didn't crashed, so it seems version number is not 
sufficient condition by itself to reproduce the crash.

I have come to the conclusion that there is nothing wrong in my code, what 
could seem convenient to exonerate myself but actually is quite 
inconvenient since I do not really know how to solve this. The answer to 
the question "why would a NoClassDefFound exception been thrown in presence 
of such class?" is still hidden to me. I have also investigated this until 
the edge of my knowledge, thus I need some help from some guru out there, 
if any. 

Thanks a million in advance,

ps. The stack dump, just in case:

0java.lang.NoClassDefFoundError: com.facebook.internal.Utility$11 at 
com.facebook.internal.Utility.void 
loadAppSettingsAsync(android.content.Context,java.lang.String)(Unknown 
Source)2 at com.facebook.Settings.void 
sdkInitialize(android.content.Context)(Unknown Source)3 at 
com.facebook.UiLifecycleHelper.<init>(Unknown Source)4 at 
net.iberdroid.androidgames.framework.impl.AndroidGame.void 
onCreate(android.os.Bundle)(Unknown Source)5* at 
com.marzoa.ruletafree.RuletaAfortunadaGame.void 
onCreate(android.os.Bundle)(Unknown Source)*6 at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)7 
at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1623)8 
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1675)
9 at android.app.ActivityThread.access$1500(ActivityThread.java:121)10 at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:943)11 at 
android.os.Handler.dispatchMessage(Handler.java:99)12 at 
android.os.Looper.loop(Looper.java:130)13 at 
android.app.ActivityThread.main(ActivityThread.java:3768)14 at 
java.lang.reflect.Method.invokeNative(Native Method)15 at 
java.lang.reflect.Method.invoke(Method.java:507)16 at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:878)
17 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636)18 at 
dalvik.system.NativeStart.main(Native Method)19*Caused by: 
java.lang.ClassNotFoundException: com.facebook.internal.Utility$1 in loader 
dalvik.system.PathClassLoader[/data/app/com.marzoa.ruletafree-1.apk]*20 at 
dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)21 at 
java.lang.ClassLoader.loadClass(ClassLoader.java:551)22 at 
java.lang.ClassLoader.loadClass(ClassLoader.java:511)23 ... 18 more

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to