question

HaKr avatar image
HaKr asked ·

How can i test ADM without Fire device?

java.lang.RuntimeException: Stub! at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2366) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2435) at android.app.ActivityThread.access$800(ActivityThread.java:160) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1320) at android.os.Handler.dispatchMessage(Handler.java:102) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5468) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:976) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:771) Caused by: java.lang.RuntimeException: Stub! at com.amazon.device.messaging.ADM.<init>(Unknown Source) at com.honing.kls.MyClasses.onCreate(MyClasses.java:182) at android.app.Activity.performCreate(Activity.java:6018) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1122) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2319) ... 10 more

i have intergrated as per the ADM guide in my own app. I have also tried it with the sample app as well. I have Amazon Underground app installed with the account. I'm testing it on my One plus 3 with Android OS 7.1. Please help

amazon device messaging
10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Levon@Amazon avatar image
Levon@Amazon answered ·

Hi HaKr,

Thanks for posting! Regrettably, ADM is supported only on Amazon devices, that is on Fire phone, Fire TV, and Fire tablets, except for Kindle Fire (1st Generation). Please refer below links for more information:

https://developer.amazon.com/public/apis/engage/device-messaging/tech-docs/adm-faq http://docs.aws.amazon.com/sns/latest/dg/mobile-push-adm.html#create-kindle-app-adm

10 |2000 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.