Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,732,970 Members 49,140 Now Online
XDA Developers Android and Mobile Development Forum

All apps stopped unexpectedly in Eclipse emulator

Tip us?
 
abundancenewmedia
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Dec 2013
Default All apps stopped unexpectedly in Eclipse emulator

**ALL** the apps I run in emulator, including this downloaded from the Google App page will get the thisApp has stopped unexpectedly error.

Any thoughts? Should I reinstall the Eclipse? Should I run on phone and not emulator?

Logcat:

03-13 10:44:34.158: D/AndroidRuntime(372): Shutting down VM
03-13 10:44:34.158: W/dalvikvm(372): threadid=1: thread exiting with uncaught exception (group=0x40014760)
03-13 10:44:34.198: E/AndroidRuntime(372): FATAL EXCEPTION: main
03-13 10:44:34.198: E/AndroidRuntime(372): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.android.basicaccessibili ty/com.example.android.basicaccessibility.MainActivit y}: java.lang.ClassNotFoundException: com.example.android.basicaccessibility.MainActivit y in loader dalvik.system.PathClassLoader[/data/app/com.example.android.basicaccessibility-2.apk]
03-13 10:44:34.198: E/AndroidRuntime(372): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:1660)
03-13 10:44:34.198: E/AndroidRuntime(372): at android.app.ActivityThread.handleLaunchActivity(Ac tivityThread.java:1752)
03-13 10:44:34.198: E/AndroidRuntime(372): at android.app.ActivityThread.access$1500(ActivityThr ead.java:123)
03-13 10:44:34.198: E/AndroidRuntime(372): at android.app.ActivityThread$H.handleMessage(Activit yThread.java:993)
03-13 10:44:34.198: E/AndroidRuntime(372): at android.os.Handler.dispatchMessage(Handler.java:99 )
03-13 10:44:34.198: E/AndroidRuntime(372): at android.os.Looper.loop(Looper.java:126)
03-13 10:44:34.198: E/AndroidRuntime(372): at android.app.ActivityThread.main(ActivityThread.jav a:3997)
03-13 10:44:34.198: E/AndroidRuntime(372): at java.lang.reflect.Method.invokeNative(Native Method)
03-13 10:44:34.198: E/AndroidRuntime(372): at java.lang.reflect.Method.invoke(Method.java:491)
03-13 10:44:34.198: E/AndroidRuntime(372): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:841)
03-13 10:44:34.198: E/AndroidRuntime(372): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:599)
03-13 10:44:34.198: E/AndroidRuntime(372): at dalvik.system.NativeStart.main(Native Method)
03-13 10:44:34.198: E/AndroidRuntime(372): Caused by: java.lang.ClassNotFoundException: com.example.android.basicaccessibility.MainActivit y in loader dalvik.system.PathClassLoader[/data/app/com.example.android.basicaccessibility-2.apk]
03-13 10:44:34.198: E/AndroidRuntime(372): at dalvik.system.PathClassLoader.findClass(PathClassL oader.java:251)
03-13 10:44:34.198: E/AndroidRuntime(372): at java.lang.ClassLoader.loadClass(ClassLoader.java:5 48)
03-13 10:44:34.198: E/AndroidRuntime(372): at java.lang.ClassLoader.loadClass(ClassLoader.java:5 08)
03-13 10:44:34.198: E/AndroidRuntime(372): at android.app.Instrumentation.newActivity(Instrument ation.java:1022)
03-13 10:44:34.198: E/AndroidRuntime(372): at android.app.ActivityThread.performLaunchActivity(A ctivityThread.java:1651)
03-13 10:44:34.198: E/AndroidRuntime(372): ... 11 more*
 
abundancenewmedia
Old
#2  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Dec 2013
I want to put up the XML and Java but I get the you can only post external links after 10 posts. DUH..

Thanks for helping. Let me know how best I can assist. I can paste in the code maybe in a smaller segment.
 
marwan.kallal
Old
#3  
marwan.kallal's Avatar
Junior Member
Thanks Meter 2
Posts: 11
Join Date: Mar 2014
What I would try first, if you don't want to go straight to using your phone, is to delete the AVD for that emulator, and just make a totally new one. If that doesn't help, then I would proceed to reinstall Eclipse, and then as a last resort use your phone. Did the crash happen on the launch of an app? Try running and then quitting one application at a time, and see if it happens again.
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes