首页 > 移动平台 > 详细

android.content.ActivityNotFoundException: Unable to find explicit activity class {...}; have you declared this activity in your AndroidManifest.xml?

时间:2014-07-22 22:44:46      阅读:1951      评论:0      收藏:0      [点我收藏+]

bubuko.com,布布扣bubuko.com,布布扣

解决方法:

在文件 AndroidManifest.xml里添加

<activity android:name="com.example.contentprovider_e.ReCallLog" >
</activity>

结果为:

bubuko.com,布布扣

PS:我起初添加的Activity是CallLog.java而不是ReCallLog.java,所以我在AndroidManifest.xml里添加添加了<Activity></Activity>也同样报错,是因为和系统的Activity重名了,运行时不知道运行哪个、、、、、、、重命名之后就好了。

android.content.ActivityNotFoundException: Unable to find explicit activity class {...}; have you declared this activity in your AndroidManifest.xml?,布布扣,bubuko.com

android.content.ActivityNotFoundException: Unable to find explicit activity class {...}; have you declared this activity in your AndroidManifest.xml?

原文:http://www.cnblogs.com/gly0108/p/3860054.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!