Note that there are some explanatory texts on larger screens.

plurals
  1. POMy app is installed in emulator, but throws an error : Unfortunately AppNAME has stopped
    primarykey
    data
    text
    <p>I am building an app using Phonegap and Cordova. When I run the app in Eclipse emulator the <strong>apk</strong> gets installed successfully but after clicking on it I get an alert saying "<strong>Unfortunately AppName has Stopped</strong>" Any guidance or suggestion to solve this problem will be great, thanks. </p> <p><strong>Console:</strong></p> <pre><code>[2013-11-13 12:18:47 - Challenger] Dx trouble writing output: already prepared [2013-11-13 12:18:48 - Challenger] ------------------------------ [2013-11-13 12:18:48 - Challenger] Android Launch! [2013-11-13 12:18:48 - Challenger] adb is running normally. [2013-11-13 12:18:48 - Challenger] Performing com.disciplinexgames.DisciplineXgames.Challenger activity launch [2013-11-13 12:18:48 - Challenger] Automatic Target Mode: launching new emulator with compatible AVD 'testDevice' [2013-11-13 12:18:48 - Challenger] Launching a new emulator with Virtual Device 'testDevice' [2013-11-13 12:18:57 - Challenger] New emulator found: emulator-5554 [2013-11-13 12:18:57 - Challenger] Waiting for HOME ('android.process.acore') to be launched... [2013-11-13 12:19:55 - Challenger] HOME is up on device 'emulator-5554' [2013-11-13 12:19:55 - Challenger] Uploading Challenger.apk onto device 'emulator-5554' [2013-11-13 12:20:09 - Challenger] Installing Challenger.apk... [2013-11-13 12:21:33 - Challenger] Success! [2013-11-13 12:21:33 - Challenger] Starting activity com.disciplinexgames.DisciplineXgames.Challenger on device emulator-5554 [2013-11-13 12:21:34 - Challenger] ActivityManager: Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.disciplinexgames.DisciplineXgames/.Challenger } </code></pre> <p><strong>LogCat:</strong></p> <pre><code>11-13 07:21:36.140: D/AndroidRuntime(837): Shutting down VM 11-13 07:21:36.140: W/dalvikvm(837): threadid=1: thread exiting with uncaught exception (group=0x41465700) 11-13 07:21:36.150: E/AndroidRuntime(837): FATAL EXCEPTION: main 11-13 07:21:36.150: E/AndroidRuntime(837): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.disciplinexgames.DisciplineXgames/com.disciplinexgames.DisciplineXgames.Challenger}: java.lang.ClassNotFoundException: Didn't find class "com.disciplinexgames.DisciplineXgames.Challenger" on path: DexPathList[[zip file "/data/app/com.disciplinexgames.DisciplineXgames-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.disciplinexgames.DisciplineXgames-1, /system/lib]] 11-13 07:21:36.150: E/AndroidRuntime(837): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2137) 11-13 07:21:36.150: E/AndroidRuntime(837): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261) 11-13 07:21:36.150: E/AndroidRuntime(837): at android.app.ActivityThread.access$600(ActivityThread.java:141) 11-13 07:21:36.150: E/AndroidRuntime(837): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256) 11-13 07:21:36.150: E/AndroidRuntime(837): at android.os.Handler.dispatchMessage(Handler.java:99) 11-13 07:21:36.150: E/AndroidRuntime(837): at android.os.Looper.loop(Looper.java:137) 11-13 07:21:36.150: E/AndroidRuntime(837): at android.app.ActivityThread.main(ActivityThread.java:5103) 11-13 07:21:36.150: E/AndroidRuntime(837): at java.lang.reflect.Method.invokeNative(Native Method) 11-13 07:21:36.150: E/AndroidRuntime(837): at java.lang.reflect.Method.invoke(Method.java:525) 11-13 07:21:36.150: E/AndroidRuntime(837): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737) 11-13 07:21:36.150: E/AndroidRuntime(837): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) 11-13 07:21:36.150: E/AndroidRuntime(837): at dalvik.system.NativeStart.main(Native Method) 11-13 07:21:36.150: E/AndroidRuntime(837): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.disciplinexgames.DisciplineXgames.Challenger" on path: DexPathList[[zip file "/data/app/com.disciplinexgames.DisciplineXgames-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.disciplinexgames.DisciplineXgames-1, /system/lib]] 11-13 07:21:36.150: E/AndroidRuntime(837): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:53) 11-13 07:21:36.150: E/AndroidRuntime(837): at java.lang.ClassLoader.loadClass(ClassLoader.java:501) 11-13 07:21:36.150: E/AndroidRuntime(837): at java.lang.ClassLoader.loadClass(ClassLoader.java:461) 11-13 07:21:36.150: E/AndroidRuntime(837): at android.app.Instrumentation.newActivity(Instrumentation.java:1061) 11-13 07:21:36.150: E/AndroidRuntime(837): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2128) 11-13 07:21:36.150: E/AndroidRuntime(837): ... 11 more </code></pre> <p><strong>androidManifest.xml</strong></p> <pre><code>&lt;?xml version='1.0' encoding='utf-8'?&gt; &lt;manifest android:hardwareAccelerated="true" android:versionCode="1" android:versionName="1.0.0" android:windowSoftInputMode="adjustPan" package="com.disciplinexgames.DisciplineXgames" xmlns:android="http://schemas.android.com/apk/res/android"&gt; &lt;supports-screens android:anyDensity="true" android:largeScreens="true" android:normalScreens="true" android:resizeable="true" android:smallScreens="true" android:xlargeScreens="true" /&gt; &lt;uses-permission android:name="android.permission.INTERNET" /&gt; &lt;application android:debuggable="true" android:hardwareAccelerated="true" android:icon="@drawable/icon" android:label="@string/app_name"&gt; &lt;activity android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale" android:label="@string/app_name" android:name="Challenger" android:theme="@android:style/Theme.Black.NoTitleBar"&gt; &lt;intent-filter&gt; &lt;action android:name="android.intent.action.MAIN" /&gt; &lt;category android:name="android.intent.category.LAUNCHER" /&gt; &lt;/intent-filter&gt; &lt;/activity&gt; &lt;/application&gt; &lt;uses-sdk android:minSdkVersion="8" android:targetSdkVersion="18" /&gt; &lt;/manifest&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload