amazon-device-messaging

Android Studio runtime error Stub! at com.amazon.device.messaging.ADMMessageReceiver.<init>()

独自空忆成欢 提交于 2020-01-11 08:52:07
问题 When I build the Amazon (Kindle) flavor of my Android app I run into this Runtime error: Caused by: java.lang.RuntimeException: Stub! at com.amazon.device.messaging.ADMMessageReceiver.<init>() I need the local amazon-device-messaging.jar file to compile my app, however I do not need to include it during runtime as the amazon device will have the necessary classes and methods. How do I update my Android Studio build.gradle file to do this? 回答1: I also ran into this issue. When adding the

Android Studio runtime error Stub! at com.amazon.device.messaging.ADMMessageReceiver.<init>()

纵饮孤独 提交于 2019-12-01 18:04:46
When I build the Amazon (Kindle) flavor of my Android app I run into this Runtime error: Caused by: java.lang.RuntimeException: Stub! at com.amazon.device.messaging.ADMMessageReceiver.<init>() I need the local amazon-device-messaging.jar file to compile my app, however I do not need to include it during runtime as the amazon device will have the necessary classes and methods. How do I update my Android Studio build.gradle file to do this? I also ran into this issue. When adding the Amazon Device Messaging jar as a library, Android Studio automatically generated dependencies { compile files(