Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3212] Android: Crash using 1.6.0

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionNeeds more info
Resolution Date2012-07-26T22:08:29.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsAndroid
Labelsn/a
ReporterMenoites
AssigneeNeeraj Gupta
Created2011-04-15T03:39:39.000+0000
Updated2012-07-26T22:08:46.000+0000

Description

My app is on the Android Marketplace and whenever you try to launch it on your Android device, you get an error saying that the app couldn't start. I have reported the errors and here is what I get in the Android Dev Console:

java.lang.RuntimeException: Unable to instantiate application net.burningheavens.themcnealandroid.ThemcnealApplication: java.lang.ClassNotFoundException: net.burningheavens.themcnealandroid.ThemcnealApplication in loader dalvik.system.PathClassLoader[/data/app/net.burningheavens.themcnealandroid-1.apk]
at android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:649)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4232)
at android.app.ActivityThread.access$3000(ActivityThread.java:125)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:123)
at android.app.ActivityThread.main(ActivityThread.java:4627)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ClassNotFoundException: net.burningheavens.themcnealandroid.ThemcnealApplication in loader dalvik.system.PathClassLoader[/data/app/net.burningheavens.themcnealandroid-1.apk]
at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)
at java.lang.ClassLoader.loadClass(ClassLoader.java:573)
at java.lang.ClassLoader.loadClass(ClassLoader.java:532)
at android.app.Instrumentation.newApplication(Instrumentation.java:942)
at android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:644)

Built using the latest Titanium Mobile SDK 1.6.0 and run on Android 2.2 Samsung Galaxy S Fascinate.

Comments

  1. Neeraj Gupta 2012-07-26

    Needs a test case or a comprehensive scenario to diagnose this issue. Please reopen this bug when you have this information.

JSON Source