Uploaded image for project: 'JBoss Developer Materials'
  1. JBoss Developer Materials
  2. JDF-332

The imported TicketMonster Cordova project fails to deploy to an Android device

XMLWordPrintable

      When running the TicketMonster Android application in ADT 22.0, the following exception is reported:

      05-26 13:57:43.587: E/AndroidRuntime(26451): FATAL EXCEPTION: main
      05-26 13:57:43.587: E/AndroidRuntime(26451): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{org.jboss.jdf.ticketmonster.android/org.jboss.jdf.ticketmonster.android.TicketMonsterActivity}: java.lang.ClassNotFoundException: org.jboss.jdf.ticketmonster.android.TicketMonsterActivity
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2024)
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2125)
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at android.app.ActivityThread.access$600(ActivityThread.java:140)
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1227)
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at android.os.Handler.dispatchMessage(Handler.java:99)
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at android.os.Looper.loop(Looper.java:137)
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at android.app.ActivityThread.main(ActivityThread.java:4898)
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at java.lang.reflect.Method.invokeNative(Native Method)
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at java.lang.reflect.Method.invoke(Method.java:511)
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1006)
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:773)
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at dalvik.system.NativeStart.main(Native Method)
      05-26 13:57:43.587: E/AndroidRuntime(26451): Caused by: java.lang.ClassNotFoundException: org.jboss.jdf.ticketmonster.android.TicketMonsterActivity
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at android.app.Instrumentation.newActivity(Instrumentation.java:1057)
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2015)
      05-26 13:57:43.587: E/AndroidRuntime(26451): 	... 11 more
      

              vineet.reynolds_jira Vineet Reynolds (Inactive)
              vineet.reynolds_jira Vineet Reynolds (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: