android :为什么点击项目一直都闪退
05-1601:03:47.672:D/dalvikvm(791):GC_CONCURRENTfreed92K,8%free2693K/2924K,paused8ms+4...
05-16 01:03:47.672: D/dalvikvm(791): GC_CONCURRENT freed 92K, 8% free 2693K/2924K, paused 8ms+4ms, total 177ms
05-16 01:03:47.672: D/dalvikvm(791): WAIT_FOR_CONCURRENT_GC blocked 113ms
05-16 01:03:48.252: D/AndroidRuntime(791): Shutting down VM
05-16 01:03:48.262: W/dalvikvm(791): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
05-16 01:03:48.312: E/AndroidRuntime(791): FATAL EXCEPTION: main
05-16 01:03:48.312: E/AndroidRuntime(791): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.ex/com.example.ex.MainActivity}: java.lang.NullPointerException
05-16 01:03:48.312: E/AndroidRuntime(791): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
05-16 01:03:48.312: E/AndroidRuntime(791): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
05-16 01:03:48.312: E/AndroidRuntime(791): at android.app.ActivityThread.access$600(ActivityThread.java:141)
05-16 01:03:48.312: E/AndroidRuntime(791): at 展开
05-16 01:03:47.672: D/dalvikvm(791): WAIT_FOR_CONCURRENT_GC blocked 113ms
05-16 01:03:48.252: D/AndroidRuntime(791): Shutting down VM
05-16 01:03:48.262: W/dalvikvm(791): threadid=1: thread exiting with uncaught exception (group=0x40a71930)
05-16 01:03:48.312: E/AndroidRuntime(791): FATAL EXCEPTION: main
05-16 01:03:48.312: E/AndroidRuntime(791): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.ex/com.example.ex.MainActivity}: java.lang.NullPointerException
05-16 01:03:48.312: E/AndroidRuntime(791): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2180)
05-16 01:03:48.312: E/AndroidRuntime(791): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2230)
05-16 01:03:48.312: E/AndroidRuntime(791): at android.app.ActivityThread.access$600(ActivityThread.java:141)
05-16 01:03:48.312: E/AndroidRuntime(791): at 展开
- 你的回答被采纳后将获得:
- 系统奖励15(财富值+成长值)+难题奖励30(财富值+成长值)
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询