yenael
Aspiring developer
Profile
Posts: 100
Reg: Sep 17, 2013
Detroit
2,950
10/11/13 01:47 PM (12 years ago)

Application Has Stopped Unexpectedly - Log Cat included

Using BT2.0 Android 2.2 Emulator with Google Api 2.2 Actual Phone: Samsung Prevail Android 2.3.6 This is the message I get when trying to run the package on emulator(and on Android Phone): The application Latest Hair Mag (process com.latesthairmag) has stopped unexpectedly. Please try again This is what I get in the Log Cat: 10-11 20:03:14.931: D/AndroidRuntime(347): Shutting down VM 10-11 20:03:14.931: W/dalvikvm(347): threadid=1: thread exiting with uncaught exception (group=0x4001d800) 10-11 20:03:15.059: E/AndroidRuntime(347): FATAL EXCEPTION: main 10-11 20:03:15.059: E/AndroidRuntime(347): java.lang.RuntimeException: Unable to instantiate application com.latesthairmag.latesthairmag_appDelegate: java.lang.ClassNotFoundException: com.latesthairmag.latesthairmag_appDelegate in loader dalvik.system.PathClassLoader[/system/framework/com.google.android.maps.jar:/data/app/com.latesthairmag-1.apk] 10-11 20:03:15.059: E/AndroidRuntime(347): at android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:649) 10-11 20:03:15.059: E/AndroidRuntime(347): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4232) 10-11 20:03:15.059: E/AndroidRuntime(347): at android.app.ActivityThread.access$3000(ActivityThread.java:125) 10-11 20:03:15.059: E/AndroidRuntime(347): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071) 10-11 20:03:15.059: E/AndroidRuntime(347): at android.os.Handler.dispatchMessage(Handler.java:99) 10-11 20:03:15.059: E/AndroidRuntime(347): at android.os.Looper.loop(Looper.java:123) 10-11 20:03:15.059: E/AndroidRuntime(347): at android.app.ActivityThread.main(ActivityThread.java:4627) 10-11 20:03:15.059: E/AndroidRuntime(347): at java.lang.reflect.Method.invokeNative(Native Method) 10-11 20:03:15.059: E/AndroidRuntime(347): at java.lang.reflect.Method.invoke(Method.java:521) 10-11 20:03:15.059: E/AndroidRuntime(347): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) 10-11 20:03:15.059: E/AndroidRuntime(347): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 10-11 20:03:15.059: E/AndroidRuntime(347): at dalvik.system.NativeStart.main(Native Method) 10-11 20:03:15.059: E/AndroidRuntime(347): Caused by: java.lang.ClassNotFoundException: com.latesthairmag.latesthairmag_appDelegate in loader dalvik.system.PathClassLoader[/system/framework/com.google.android.maps.jar:/data/app/com.latesthairmag-1.apk] 10-11 20:03:15.059: E/AndroidRuntime(347): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243) 10-11 20:03:15.059: E/AndroidRuntime(347): at java.lang.ClassLoader.loadClass(ClassLoader.java:573) 10-11 20:03:15.059: E/AndroidRuntime(347): at java.lang.ClassLoader.loadClass(ClassLoader.java:532) 10-11 20:03:15.059: E/AndroidRuntime(347): at android.app.Instrumentation.newApplication(Instrumentation.java:942) 10-11 20:03:15.059: E/AndroidRuntime(347): at android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:644) 10-11 20:03:15.059: E/AndroidRuntime(347): ... 11 more 10-11 20:03:51.399: D/AndroidRuntime(353): Shutting down VM 10-11 20:03:51.399: W/dalvikvm(353): threadid=1: thread exiting with uncaught exception (group=0x4001d800) 10-11 20:03:51.449: E/AndroidRuntime(353): FATAL EXCEPTION: main 10-11 20:03:51.449: E/AndroidRuntime(353): java.lang.RuntimeException: Unable to instantiate application com.latesthairmag.latesthairmag_appDelegate: java.lang.ClassNotFoundException: com.latesthairmag.latesthairmag_appDelegate in loader dalvik.system.PathClassLoader[/system/framework/com.google.android.maps.jar:/data/app/com.latesthairmag-1.apk] 10-11 20:03:51.449: E/AndroidRuntime(353): at android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:649) 10-11 20:03:51.449: E/AndroidRuntime(353): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4232) 10-11 20:03:51.449: E/AndroidRuntime(353): at android.app.ActivityThread.access$3000(ActivityThread.java:125) 10-11 20:03:51.449: E/AndroidRuntime(353): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2071) 10-11 20:03:51.449: E/AndroidRuntime(353): at android.os.Handler.dispatchMessage(Handler.java:99) 10-11 20:03:51.449: E/AndroidRuntime(353): at android.os.Looper.loop(Looper.java:123) 10-11 20:03:51.449: E/AndroidRuntime(353): at android.app.ActivityThread.main(ActivityThread.java:4627) 10-11 20:03:51.449: E/AndroidRuntime(353): at java.lang.reflect.Method.invokeNative(Native Method) 10-11 20:03:51.449: E/AndroidRuntime(353): at java.lang.reflect.Method.invoke(Method.java:521) 10-11 20:03:51.449: E/AndroidRuntime(353): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) 10-11 20:03:51.449: E/AndroidRuntime(353): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 10-11 20:03:51.449: E/AndroidRuntime(353): at dalvik.system.NativeStart.main(Native Method) 10-11 20:03:51.449: E/AndroidRuntime(353): Caused by: java.lang.ClassNotFoundException: com.latesthairmag.latesthairmag_appDelegate in loader dalvik.system.PathClassLoader[/system/framework/com.google.android.maps.jar:/data/app/com.latesthairmag-1.apk] 10-11 20:03:51.449: E/AndroidRuntime(353): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243) 10-11 20:03:51.449: E/AndroidRuntime(353): at java.lang.ClassLoader.loadClass(ClassLoader.java:573) 10-11 20:03:51.449: E/AndroidRuntime(353): at java.lang.ClassLoader.loadClass(ClassLoader.java:532) 10-11 20:03:51.449: E/AndroidRuntime(353): at android.app.Instrumentation.newApplication(Instrumentation.java:942) 10-11 20:03:51.449: E/AndroidRuntime(353): at android.app.ActivityThread$PackageInfo.makeApplication(ActivityThread.java:644) 10-11 20:03:51.449: E/AndroidRuntime(353): ... 11 more 10-11 20:03:56.669: I/Process(353): Sending signal. PID: 353 SIG: 9
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
10/11/13 01:52 PM (12 years ago)
Are you running your app on Android API? Well it seems so from the following log- com.latesthairmag.latesthairmag_appDelegate: java.lang.ClassNotFoundException: com.latesthairmag.latesthairmag_appDelegate in loader dalvik.system.PathClassLoader[/system/framework/com.google.android.maps.jar:/data/app/com.latesthairmag-1.apk] com.latesthairmag.latesthairmag_appDelegate: java.lang.ClassNotFoundException: com.latesthairmag.latesthairmag_appDelegate in loader dalvik.system.PathClassLoader[/system/framework/com.google.android.maps.jar:/data/app/com.latesthairmag-1.apk] You need to compile your project on Google API. Check it out and inform how it goes... I will be back within few hours.
 
yenael
Aspiring developer
Profile
Posts: 100
Reg: Sep 17, 2013
Detroit
2,950
like
10/11/13 01:54 PM (12 years ago)
Yep it is Google Api 2.2, it did the same thing on my phone.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
10/11/13 02:35 PM (12 years ago)
Do you have a different version of that same app on your device? It looks like there might be. You could try deleting that from the device, then installing the app again. Also...if there is any LogCat output from before the first line you posted (the VM shutdown), that's helpful stuff as well. Mark
 
Sandeep
Android Fan
Profile
Posts: 1260
Reg: Feb 01, 2012
Miraj, India
25,250
like
10/11/13 07:57 PM (12 years ago)
The java.lang.ClassNotFoundException is causing the crash of your app, thats for sure and its because of the missing Google Maps jar / class file. Another cause causing the crash might be because of some error in the app_delegate class file of your project. If possible to you send me the zipped project file, i will take a look at it. my email- sandeepkurne (at) gmail (dot) com.
 
yenael
Aspiring developer
Profile
Posts: 100
Reg: Sep 17, 2013
Detroit
2,950
like
10/12/13 04:45 AM (12 years ago)
It's okay, I just erased it and re downloaded from buzztouch, but I still keep having this problem with the google maps. The four locations show up but no pictures. Everything else is fine on the app. I really did everything this time. I will post on the map forum in detail because I know this isnt the place.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.