Vittorio Tiozzo
Posts: 0
Joined: Mon Jul 28, 2014 8:33 am

LogCat errors

Hello,
when I test my app on the eclipse emulator, a dialog opens in the device saying "Unfortunately has stopped".
This is my logcat:
09-24 10:20:14.540: D/AndroidRuntime(804): Shutting down VM
09-24 10:20:14.540: W/dalvikvm(804): threadid=1: thread exiting with uncaught exception (group=0xb1aaed70)
09-24 10:20:14.560: E/AndroidRuntime(804): FATAL EXCEPTION: main
09-24 10:20:14.560: E/AndroidRuntime(804): Process: io.appery.project194836, PID: 804
09-24 10:20:14.560: E/AndroidRuntime(804): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{io.appery.project194836/io.appery.project194836.PhoneGapActivity}: java.lang.ClassNotFoundException: Didn't find class "io.appery.project194836.PhoneGapActivity" on path: DexPathList[[zip file "/data/app/io.appery.project194836-2.apk"],nativeLibraryDirectories=[/data/app-lib/io.appery.project194836-2, /system/lib]]
09-24 10:20:14.560: E/AndroidRuntime(804): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2123)
09-24 10:20:14.560: E/AndroidRuntime(804): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2258)
09-24 10:20:14.560: E/AndroidRuntime(804): at android.app.ActivityThread.access$800(ActivityThread.java:138)
09-24 10:20:14.560: E/AndroidRuntime(804): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1209)
09-24 10:20:14.560: E/AndroidRuntime(804): at android.os.Handler.dispatchMessage(Handler.java:102)
09-24 10:20:14.560: E/AndroidRuntime(804): at android.os.Looper.loop(Looper.java:136)
09-24 10:20:14.560: E/AndroidRuntime(804): at android.app.ActivityThread.main(ActivityThread.java:5026)
09-24 10:20:14.560: E/AndroidRuntime(804): at java.lang.reflect.Method.invokeNative(Native Method)
09-24 10:20:14.560: E/AndroidRuntime(804): at java.lang.reflect.Method.invoke(Method.java:515)
09-24 10:20:14.560: E/AndroidRuntime(804): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
09-24 10:20:14.560: E/AndroidRuntime(804): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
09-24 10:20:14.560: E/AndroidRuntime(804): at dalvik.system.NativeStart.main(Native Method)
09-24 10:20:14.560: E/AndroidRuntime(804): Caused by: java.lang.ClassNotFoundException: Didn't find class "io.appery.project194836.PhoneGapActivity" on path: DexPathList[[zip file "/data/app/io.appery.project194836-2.apk"],nativeLibraryDirectories=[/data/app-lib/io.appery.project194836-2, /system/lib]]
09-24 10:20:14.560: E/AndroidRuntime(804): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
09-24 10:20:14.560: E/AndroidRuntime(804): at java.lang.ClassLoader.loadClass(ClassLoader.java:497)
09-24 10:20:14.560: E/AndroidRuntime(804): at java.lang.ClassLoader.loadClass(ClassLoader.java:457)
09-24 10:20:14.560: E/AndroidRuntime(804): at android.app.Instrumentation.newActivity(Instrumentation.java:1061)
09-24 10:20:14.560: E/AndroidRuntime(804): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2114)
09-24 10:20:14.560: E/AndroidRuntime(804): ... 11 more

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

LogCat errors

Hello Vittorio,

Could you please clarify, when does this happen? After some actions in the application or immediately after starting?

Vittorio Tiozzo
Posts: 0
Joined: Mon Jul 28, 2014 8:33 am

LogCat errors

The app doesn't even start, After this string appears in the console:ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=io.appery.project194836/.PhoneGapActivity }

in the log cat those errors appears and the dialog "unfortunately doesn't start" on the ADV opens.

thank you for your help

Vittorio Tiozzo
Posts: 0
Joined: Mon Jul 28, 2014 8:33 am

LogCat errors

Please reply ASAP

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

LogCat errors

Hi Vittorio,

Please specify it occurs only in eclipse emulator? Did you test .apk(generated by appery service) in device?

Please share your App with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and tell as it name here.

Regards.

Vittorio Tiozzo
Posts: 0
Joined: Mon Jul 28, 2014 8:33 am

LogCat errors

I've never load the app on an android device. How can I do it?
I've shared the app, its name is "Sete".
Thank you for your help

Vittorio Tiozzo
Posts: 0
Joined: Mon Jul 28, 2014 8:33 am

LogCat errors

By the way, the app doesn't work even on a device and the log cat is the same.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

LogCat errors

Hello Vittorio,

I managed successfully built your app in Appery.io and installed it on my device with Android 4.2.2. Works correctly.Could you please send to us your .apk?

Vittorio Tiozzo
Posts: 0
Joined: Mon Jul 28, 2014 8:33 am

LogCat errors

When I try to build my app I get this page:https://appery.io/app/error/androidCe...

Vittorio Tiozzo
Posts: 0
Joined: Mon Jul 28, 2014 8:33 am

LogCat errors

Now when I try to build I get this page:https://appery.io/app/project/c78954a...

Return to “Issues”