Android Studio runtime error Stub! at com.amazon.device.messaging.ADMMessageReceiver.<init>()
问题 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