华为的手机老报错:Unable to start activity ComponentInfo

Android 码拜 9年前 (2015-05-10) 749次浏览 0个评论
 

>Android: 4.2.2(HUAWEI G750-T01)
 >Exception: Unable to start activity ComponentInfo{com.qiuqp.mybill/com.qiuqp.mybill.ui.MainActivity}: java.lang.NullPointerException
 >android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2377)
 >android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2429)
 >android.app.ActivityThread.access$600(ActivityThread.java:171)
 >android.app.ActivityThread$H.handleMessage(ActivityThread.java:1393)
 >android.os.Handler.dispatchMessage(Handler.java:107)
 >android.os.Looper.loop(Looper.java:194)
 >android.app.ActivityThread.main(ActivityThread.java:5468)
 >java.lang.reflect.Method.invokeNative(Native Method)
 >java.lang.reflect.Method.invoke(Method.java:525)
 >com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:936)
 >com.android.internal.os.ZygoteInit.main(ZygoteInit.java:703)
 >dalvik.system.NativeStart.main(Native Method)
 >来自我的华为手机

 客户说开始能用,用一段时间后就变成这样了,求高手给看一下哈,谢谢

20分
错误没贴完吧
可能性很多……逻辑问题,activity资源被回收,等等~
20分
查看一下
编译工具和运行环境 

1》compileSdkVersion 21
2》buildToolsVersion “21.1.2”


CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明华为的手机老报错:Unable to start activity ComponentInfo
喜欢 (0)
[1034331897@qq.com]
分享 (0)

文章评论已关闭!