Note that there are some explanatory texts on larger screens.

plurals
  1. PONoClassDefFoundError Amazon ADM integration on kindle
    primarykey
    data
    text
    <p>I'm trying the Amazon Device Messaging API </p> <p>I added the jar file using the import as suggested by Amazon. When I deploy onto the device, I get an error,</p> <pre><code>06-03 16:24:13.680: E/AndroidRuntime(11038): java.lang.NoClassDefFoundError: com.amazon.device.messaging.ADM 06-03 16:24:13.680: E/AndroidRuntime(11038): at com.myapp.MainActivity.onCreate(MainActivity.java:74) 06-03 16:24:13.680: E/AndroidRuntime(11038): at android.app.Activity.performCreate(Activity.java:4635) 06-03 16:24:13.680: E/AndroidRuntime(11038): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049) 06-03 16:24:13.680: E/AndroidRuntime(11038): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2031) 06-03 16:24:13.680: E/AndroidRuntime(11038): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2092) 06-03 16:24:13.680: E/AndroidRuntime(11038): at android.app.ActivityThread.access$600(ActivityThread.java:126) 06-03 16:24:13.680: E/AndroidRuntime(11038): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1172) 06-03 16:24:13.680: E/AndroidRuntime(11038): at android.os.Handler.dispatchMessage(Handler.java:99) 06-03 16:24:13.680: E/AndroidRuntime(11038): at android.os.Looper.loop(Looper.java:137) 06-03 16:24:13.680: E/AndroidRuntime(11038): at android.app.ActivityThread.main(ActivityThread.java:4586) 06-03 16:24:13.680: E/AndroidRuntime(11038): at java.lang.reflect.Method.invokeNative(Native Method) 06-03 16:24:13.680: E/AndroidRuntime(11038): at java.lang.reflect.Method.invoke(Method.java:511) 06-03 16:24:13.680: E/AndroidRuntime(11038): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784) 06-03 16:24:13.680: E/AndroidRuntime(11038): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551) 06-03 16:24:13.680: E/AndroidRuntime(11038): at dalvik.system.NativeStart.main(Native Method) </code></pre> <p>I cannot add the jar file to the order &amp; export as it causes stub error and not recommended by Amazon. </p> <p>They say when the app is installed, it should pick the apis from the device instead its searching for the class files in the app causing this issue.</p> <p>I tried building from eclipse IDE and also manually using ANT.</p>
    singulars
    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