我们收到了来自Kindle Fire用户的第一次否定评论,他说应用程序在加载时崩溃了。我查了一下这个错误,果然我们的Splash Activity发生了崩溃,专门针对Android 2.3.4上的Kindle Fire用户。我可以确认我们使用Proguard,那应用程序没有在高版本的Kindle Fire上运行此崩溃,并且它可以在运行Android 2.3.4的非亚马逊设备上运行任何人都有任何建议或者我们应该只是拉那些用户的应用程序?
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.myapp/com.myapp.splash.SplashActivity}: java.lang.NoSuchMethodException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1647)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
at android.app.ActivityThread.access$1500(ActivityThread.java:117)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:850)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:608)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NoSuchMethodException
at java.lang.Class.getDeclaredFields(Native Method)
at java.lang.ClassCache.getDeclaredFields(ClassCache.java:315)
at java.lang.Class.getDeclaredFields(Class.java:692)
at com.amazon.android.framework.resource.c.b(Unknown Source)
at com.amazon.android.framework.resource.c.a(Unknown Source)
at com.amazon.android.Kiwi.instantiateTheWorld(Unknown Source)
at com.amazon.android.Kiwi.<init>(Unknown Source)
at com.amazon.android.Kiwi.onCreate(Unknown Source)
at com.myapp.splash.SplashActivity.onCreate(SplashActivity.java)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)