我的应用在我的手机中完美运行,但不在模拟器中运行。
这些是显示我的错误,我真的想知道,甚至认为它在我的手机上运行,也许有一天,我只想在电脑中模仿。 谢谢
11-02 15:07:00.571 2373-2373/com.example.dell.amadeus I/art: JIT created with code_cache_capacity=2MB compile_threshold=1000
11-02 15:07:00.642 2373-2373/com.example.dell.amadeus W/System: ClassLoader referenced unknown path: /data/app/com.example.dell.amadeus-1/lib/x86
11-02 15:07:00.660 2373-2373/com.example.dell.amadeus D/AndroidRuntime: Shutting down VM
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: FATAL EXCEPTION: main
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: Process: com.example.dell.amadeus, PID: 2373
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.dell.amadeus/com.example.dell.amadeus.MainActivity}: java.lang.RuntimeException: A TaskDescription's primary color should be opaque
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2416)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.app.ActivityThread.-wrap11(ActivityThread.java)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5417)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: Caused by: java.lang.RuntimeException: A TaskDescription's primary color should be opaque
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.app.ActivityManager$TaskDescription.<init>(ActivityManager.java:586)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.app.Activity.onApplyThemeResource(Activity.java:3731)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.view.ContextThemeWrapper.initializeTheme(ContextThemeWrapper.java:150)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.view.ContextThemeWrapper.setTheme(ContextThemeWrapper.java:94)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2362)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2476)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.app.ActivityThread.-wrap11(ActivityThread.java)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1344)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:102)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.os.Looper.loop(Looper.java:148)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:5417)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
11-02 15:07:00.661 2373-2373/com.example.dell.amadeus E/AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)