码迷,mamicode.com
首页 > 移动开发 > 详细

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

时间:2014-07-22 22:45:12      阅读:248      评论:0      收藏:0      [点我收藏+]

标签:android   blog   http   java   文件   io   

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?

标签:android   blog   http   java   文件   io   

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

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!