question

buentingdevteam avatar image
buentingdevteam asked

Android Studio java.lang.RuntimeException: Stub!

Hey! I try to implment the ADM with Android Studio. I used the tutorial (h ttp s://developer.amazon.com/public/apis/engage/device-messaging/tech-docs/04-integrating-your-app-with-adm) for integration and followed these instructions (h ttp s://forums.developer.amazon.com/forums/thread.jspa?threadID=4872&tstart=0). But when I still get: java.lang.RuntimeException: Stub! at com.amazon.device.messaging.ADM. (Unknown Source) Are there any suggestions?
amazon device messaging
10 |5000

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

KenS@amazon avatar image
KenS@amazon answered
10 |5000

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

BenB avatar image
BenB answered
The key part is to make sure it is a provided dependency, rather than compile.
10 |5000

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