Recently I changed the package path of the launcher activity (so the
activity is one step lower down the package). The root package is
still the same. I made the corresponding changes to the
AndroidManifest.xml and while testing, it works fine on my phone.
However a number of users are complaining that my application now
fails to load on their phones. I am guessing Dalvik is caching this
somehow and not loading up the AndroidManifest.xml during an upgrade?
Is there a way to remedy this, other than telling them to uninstall/
reinstall or changing my package back?
10-15 06:44:02.001 E/AndroidRuntime( 6885):
java.lang.RuntimeException: Unable to instantiate activity
ComponentInfo{com.arron.taskManager/
com.arron.taskManager.MainTabHostActivity}:
java.lang.ClassNotFoundException: LAUNCHER_ACTIVITY in loader
dalvik.system.pathclassloa...@43486e48
10-15 06:44:02.001 E/AndroidRuntime( 6885): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2263)
10-15 06:44:02.001 E/AndroidRuntime( 6885): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2371)
10-15 06:44:02.001 E/AndroidRuntime( 6885): at
android.app.ActivityThread.access$1800(ActivityThread.java:118)
10-15 06:44:02.001 E/AndroidRuntime( 6885): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1759)
10-15 06:44:02.001 E/AndroidRuntime( 6885): at
android.os.Handler.dispatchMessage(Handler.java:99)
10-15 06:44:02.001 E/AndroidRuntime( 6885): at android.os.Looper.loop
(Looper.java:123)
10-15 06:44:02.001 E/AndroidRuntime( 6885): at
android.app.ActivityThread.main(ActivityThread.java:4077)
10-15 06:44:02.001 E/AndroidRuntime( 6885): at
java.lang.reflect.Method.invokeNative(Native Method)
10-15 06:44:02.001 E/AndroidRuntime( 6885): at
java.lang.reflect.Method.invoke(Method.java:521)
10-15 06:44:02.001 E/AndroidRuntime( 6885): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:782)
10-15 06:44:02.001 E/AndroidRuntime( 6885): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
10-15 06:44:02.001 E/AndroidRuntime( 6885): at
dalvik.system.NativeStart.main(Native Method)
10-15 06:44:02.001 E/AndroidRuntime( 6885): Caused by:
java.lang.ClassNotFoundException LAUNCHER_ACTIVITY
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---