赞
踩
最近在写Android的时候遇到个问题,某一Activity明明在AndroidManifest里注册过,运行时却仍无法进入该活动。
报错如下:
09-04 00:00:18.472: E/AndroidRuntime(1052): FATAL EXCEPTION: main
09-04 00:00:18.472: E/AndroidRuntime(1052): Process: com.example.compusforest, PID: 1052
09-04 00:00:18.472: E/AndroidRuntime(1052): android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.compusforest/com.example.guide.GuideActivity}; have you declared this activity in your AndroidManifest.xml?
09-04 00:00:18.472: E/AndroidRuntime(1052): at android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1777)
09-04 00:00:18.472: E/AndroidRuntime(1052): at android.app.Instrumentation.execStartActivity(Instrumentation.java:1501)
09-04 00:00:18.472: E/AndroidRuntime(1052): at android.app.Activity.s
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。