0

我的应用程序不再启动。甚至在开始第一个活动之前停止。 logcat的示出了公知的行:Android应用程序无法启动未捕获的异常

11-22 19:43:19.040: E/Trace(22750): error opening trace file: No such file or directory (2) 
11-22 19:43:19.080: W/dalvikvm(22750): Refusing to reopen boot DEX '/system/framework/hwframework.jar' 
11-22 19:43:19.230: W/dalvikvm(22750): threadid=1: thread exiting with uncaught exception (group=0x41ae7438) 

第一活动的onCreate方法是这样的:

@Override 
    public void onCreate(Bundle savedInstanceState) { 
     super.onCreate(savedInstanceState); 
     setContentView(R.layout.splashscreen); 
     Thread.setDefaultUncaughtExceptionHandler(new Thread.UncaughtExceptionHandler() { 
      @Override 
      public void uncaughtException(Thread paramThread, Throwable paramThrowable) { 
       Log.w("Alert","Lets See if it Works !!!", paramThrowable); 
      } 
     }); 
    } 

无论移动处理程序,也不添加Log.i作为应用程序响应第一动作。清单文件具有minSdkVersion = 8和targe = 17,但它从未被修改,并且它以前工作过。我阅读了与前两行相关的几个线程,特别是最后一个,但没有一个看起来符合我的需求。有没有什么办法可以调试这个错误?谢谢。

回答

相关问题