HelloWorld ! 2016-06-10 16:38 采纳率: 0%
浏览 2187

Unfortunately xxx has stopped

这是我的logcat:

06-10 16:18:55.964: E/Trace(1442): error opening trace file: No such file or directory (2)
06-10 16:18:56.074: D/AndroidRuntime(1442): Shutting down VM
06-10 16:18:56.074: W/dalvikvm(1442): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
06-10 16:18:56.134: E/AndroidRuntime(1442): FATAL EXCEPTION: main
06-10 16:18:56.134: E/AndroidRuntime(1442): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.fragmenttest/com.example.fragmenttest.FragmentTest}: java.lang.ClassNotFoundException: Didn't find class "com.example.fragmenttest.FragmentTest" on path: /data/app/com.example.fragmenttest-2.apk
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2106)
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.app.ActivityThread.access$600(ActivityThread.java:141)
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.os.Handler.dispatchMessage(Handler.java:99)
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.os.Looper.loop(Looper.java:137)
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.app.ActivityThread.main(ActivityThread.java:5041)
06-10 16:18:56.134: E/AndroidRuntime(1442): at java.lang.reflect.Method.invokeNative(Native Method)
06-10 16:18:56.134: E/AndroidRuntime(1442): at java.lang.reflect.Method.invoke(Method.java:511)
06-10 16:18:56.134: E/AndroidRuntime(1442): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
06-10 16:18:56.134: E/AndroidRuntime(1442): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
06-10 16:18:56.134: E/AndroidRuntime(1442): at dalvik.system.NativeStart.main(Native Method)
06-10 16:18:56.134: E/AndroidRuntime(1442): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.fragmenttest.FragmentTest" on path: /data/app/com.example.fragmenttest-2.apk
06-10 16:18:56.134: E/AndroidRuntime(1442): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
06-10 16:18:56.134: E/AndroidRuntime(1442): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
06-10 16:18:56.134: E/AndroidRuntime(1442): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.app.Instrumentation.newActivity(Instrumentation.java:1054)
06-10 16:18:56.134: E/AndroidRuntime(1442): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2097)
06-10 16:18:56.134: E/AndroidRuntime(1442): ... 11 more
06-10 16:26:38.134: E/Trace(1594): error opening trace file: No such file or directory (2)
06-10 16:26:38.294: D/AndroidRuntime(1594): Shutting down VM
06-10 16:26:38.294: W/dalvikvm(1594): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
06-10 16:26:38.325: E/AndroidRuntime(1594): FATAL EXCEPTION: main
06-10 16:26:38.325: E/AndroidRuntime(1594): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.example.fragmenttest/com.example.fragmenttest.FragmentTest}: java.lang.ClassNotFoundException: Didn't find class "com.example.fragmenttest.FragmentTest" on path: /data/app/com.example.fragmenttest-1.apk
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2106)
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.app.ActivityThread.access$600(ActivityThread.java:141)
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1234)
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.os.Handler.dispatchMessage(Handler.java:99)
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.os.Looper.loop(Looper.java:137)
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.app.ActivityThread.main(ActivityThread.java:5041)
06-10 16:26:38.325: E/AndroidRuntime(1594): at java.lang.reflect.Method.invokeNative(Native Method)
06-10 16:26:38.325: E/AndroidRuntime(1594): at java.lang.reflect.Method.invoke(Method.java:511)
06-10 16:26:38.325: E/AndroidRuntime(1594): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
06-10 16:26:38.325: E/AndroidRuntime(1594): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
06-10 16:26:38.325: E/AndroidRuntime(1594): at dalvik.system.NativeStart.main(Native Method)
06-10 16:26:38.325: E/AndroidRuntime(1594): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.example.fragmenttest.FragmentTest" on path: /data/app/com.example.fragmenttest-1.apk
06-10 16:26:38.325: E/AndroidRuntime(1594): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:65)
06-10 16:26:38.325: E/AndroidRuntime(1594): at java.lang.ClassLoader.loadClass(ClassLoader.java:501)
06-10 16:26:38.325: E/AndroidRuntime(1594): at java.lang.ClassLoader.loadClass(ClassLoader.java:461)
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.app.Instrumentation.newActivity(Instrumentation.java:1054)
06-10 16:26:38.325: E/AndroidRuntime(1594): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2097)
06-10 16:26:38.325: E/AndroidRuntime(1594): ... 11 more

  • 写回答

1条回答 默认 最新

  • Robot-C 2016-06-10 16:41
    关注

    一、Dialog位置
    frameworks/base/services/core/java/com/android/server/am/AppErrorDialog.java
    public AppErrorDialog(Context context, ActivityManagerService service, AppErrorResult result, ProcessRecord ap......
    答案就在这里:unfortunately XXX has stopped多国语言
    ----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。

    评论

报告相同问题?

悬赏问题

  • ¥15 用visualstudio2022创建vue项目后无法启动
  • ¥15 x趋于0时tanx-sinx极限可以拆开算吗
  • ¥500 把面具戴到人脸上,请大家贡献智慧
  • ¥15 任意一个散点图自己下载其js脚本文件并做成独立的案例页面,不要作在线的,要离线状态。
  • ¥15 各位 帮我看看如何写代码,打出来的图形要和如下图呈现的一样,急
  • ¥30 c#打开word开启修订并实时显示批注
  • ¥15 如何解决ldsc的这条报错/index error
  • ¥15 VS2022+WDK驱动开发环境
  • ¥30 关于#java#的问题,请各位专家解答!
  • ¥30 vue+element根据数据循环生成多个table,如何实现最后一列 平均分合并