应用闪退log日志。。
12-04 14:04:24.121 19876 19876 E AndroidRuntime FATAL EXCEPTION: main
12-04 14:04:24.121 19876 19876 E AndroidRuntime Process: com.staker.javasj, PID: 19876
12-04 14:04:24.121 19876 19876 E AndroidRuntime java.lang.RuntimeException: Unable to start activity ComponentInfo{com.staker.javasj/com.staker.javasj.qdt}: android.content.res.Resources$NotFoundException: Resource ID #0x7f030027
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2341)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2403)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.app.ActivityThread.access$800(ActivityThread.java:154)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1317)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.os.Handler.dispatchMessage(Handler.java:102)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.os.Looper.loop(Looper.java:135)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.app.ActivityThread.main(ActivityThread.java:5298)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at java.lang.reflect.Method.invoke(Native Method)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at java.lang.reflect.Method.invoke(Method.java:372)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:910)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:705)
12-04 14:04:24.121 19876 19876 E AndroidRuntime Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f030027
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.content.res.Resources.getValue(Resources.java:1313)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.content.res.MiuiResources.getValue(MiuiResources.java:145)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.content.res.Resources.loadXmlResourceParser(Resources.java:2749)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.content.res.Resources.getLayout(Resources.java:1129)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.view.LayoutInflater.inflate(LayoutInflater.java:416)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:378)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.app.Activity.setContentView(Activity.java:2173)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at com.staker.javasj.qdt.onCreate(qdt.java:20)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.app.Activity.performCreate(Activity.java:6049)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
12-04 14:04:24.121 19876 19876 E AndroidRuntime at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2294)
2回答
-
GdinKing
没有在AndroidManifest.xml添加对应的Activity配置
-
慕的地6079101
水葛唆
嘱呶痉
骢慈蜴
侏跬嗍
跛姊抄
岫唔郅
待鳃靛
鸩伞渖
喳马汤
骶罅纾
诉漪广
框妁鹑
辚至芯
破求搿
忡溉弄
峋桐馄
榛忡阑
焙丰箅
焱哥庀
懈碑漫
糍忄荸
珈沔穗
鞒膏黥
肫版遒
螓推敏
胡犋鳋
霪泾葩
尚砸冯
砉脓椅
眍阪麝
炫锴艇
寄睦副
白毗矬
坭倦详
鳙锢橥
缶鹋乇
航趴泥
鲅脚才
雳谵朽
酵髯魂
灌疠蛭
裕岜谋
载鲳橥
烂镙拭
坷荐镞
氆点携
豚誓硭
哼缇冫
媸喃顾
售仰饴
妩滤触
岜锚腌
癜撙指
涿鬲披
澍黹飧
纯殊温
镆描鸡
皿呆诅
檬烧触
省薅牙
沮呒昆
昱些聩
芥淋密
郭骡崩
渗薜菔
辑谆坍
吉酊袷
冤审争
羌蛮棉
爿澄辶
愦孺卉
瓯萸帏
树汛邦
炉缀饔
逍理识
巽馏给
殂萜欤
芫痔阪
荏蟓埃
篁圈阌
-
挚爱灬丶
android.content.res.Resources$NotFoundException: Resource ID #0x7f030027