Page 1 of 2

LogCat errors

Posted: Wed Sep 24, 2014 10:47 am
by Vittorio Tiozzo

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


LogCat errors

Posted: Wed Sep 24, 2014 11:15 am
by Evgene Karachevtsev

Hello Vittorio,

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


LogCat errors

Posted: Wed Sep 24, 2014 11:58 am
by Vittorio Tiozzo

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


LogCat errors

Posted: Wed Sep 24, 2014 8:51 pm
by Vittorio Tiozzo

Please reply ASAP


LogCat errors

Posted: Thu Sep 25, 2014 1:10 am
by Yurii Orishchuk

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.


LogCat errors

Posted: Thu Sep 25, 2014 9:44 am
by Vittorio Tiozzo

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


LogCat errors

Posted: Thu Sep 25, 2014 8:09 pm
by Vittorio Tiozzo

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


LogCat errors

Posted: Fri Sep 26, 2014 6:40 am
by Evgene Karachevtsev

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?


LogCat errors

Posted: Fri Sep 26, 2014 8:21 am
by Vittorio Tiozzo

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


LogCat errors

Posted: Fri Sep 26, 2014 8:30 am
by Vittorio Tiozzo

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