模拟它,一切顺利。 但随后,导出APK和安装它不同的,真实的,电话,或从Play商店中下载应用程序后:从Play商店下载后应用程序崩溃?
> 08-16 23:56:25.450: E/AndroidRuntime(5079): FATAL EXCEPTION: main
> 08-16 23:56:25.450: E/AndroidRuntime(5079):
> java.lang.RuntimeException: Unable to instantiate activity
> ComponentInfo{com.example/com.example.ActivityHome}:
> java.lang.ClassNotFoundException: Didn't find class
> "com.example.ActivityHome" on path: DexPathList[[zip file
> "/data/app/com.example-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.example-1,
> /vendor/lib, /system/lib]] 08-16 23:56:25.450: E/AndroidRuntime(5079):
> at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2137)
> 08-16 23:56:25.450: E/AndroidRuntime(5079): at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2261)
> 08-16 23:56:25.450: E/AndroidRuntime(5079): at
> android.app.ActivityThread.access$600(ActivityThread.java:141) 08-16
> 23:56:25.450: E/AndroidRuntime(5079): at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1256)
> 08-16 23:56:25.450: E/AndroidRuntime(5079): at
> android.os.Handler.dispatchMessage(Handler.java:99) 08-16
> 23:56:25.450: E/AndroidRuntime(5079): at
> android.os.Looper.loop(Looper.java:137) 08-16 23:56:25.450:
22更多...
我真的不知道该怎么修复...
请告诉我从Play商店下载后如何看到这些错误。我有类似的需求,但不知道如何从Play商店下载后看到logcat。 http://stackoverflow.com/questions/24674095/app-crashes-after-downloading-from-play-store – Nepster