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

解决方法:

在文件 AndroidManifest.xml里添加

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

结果为:

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?

时间: 2024-11-02 13:58:25

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

【Android 疑难杂症1】android.content.ActivityNotFoundException: Unable to find explicit activity class

android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.cnotes/com.example.cnotes.Notes_History}; have you declared this activity in your AndroidManifest.xml? 在activity中访问其它xml文件的时候总是提示Unable to find,这种情况是没有在配置文

android.content.ActivityNotFoundException 出现原因分析

android.content.ActivityNotFoundException: Unable to find explicit activity class {com.android.settings/com.android.settings.deviceinfo.SoftwareUpdates}; have you declared this activity in your AndroidManifest.xml? 目前在开发android 5.0 L .想在settings 里面增加

隐式Intent找不到Activity:android.content.ActivityNotFoundException

Here is what i encountered: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=me.waye.intentdemo.intent.action.WAYE_ACTION cat=[me.waye.intentdemo.intent.category.WAYE_CATEGORY] } 在学习隐式启动Activity的时候遇到这个错误,用的书是李刚的疯狂An

android.content.ActivityNotFoundException: No Activity found to handle Intent

代码如下: public void sendMessage(String number) { if (TextUtils.isEmpty(number)) { return; } Intent intent = new Intent(Intent.ACTION_SENDTO, Uri.fromParts(Constants.SCHEME_SMS, number, null)); context.startActivity(intent); } 异常信息提示如下: android.content.

Android开展Exception:ActivityNotFoundException: Unable to find explicit activity class

project出现在一个以上的activity,不AndroidManifest.xml配置,在阅读的时候,你需要知道的配置activity,使用时间或忘记配置.流汗!配置activity后project译. 版权声明:本文博主原创文章,博客,未经同意不得转载.

Android:Unable to find explicit activity class

写了两个Activity,确定java代码和xml配置文件没问题之后,运行工程,报错: E/AndroidRuntime(10513): FATAL EXCEPTION: main E/AndroidRuntime(10513): java.lang.RuntimeException: Unable to start activity ComponentInfo Caused by: android.content.ActivityNotFoundException: Unable to fin

Xamarin Mono错误: unable to find explicit activity class

unable to find explicit activity class在android开发很常见,网上一般是java的解决办法,对我们这些xamariner就无语了. xamarin中用attribute代替了AndroidManifest.xml中的相关内容,所以联想到此错误的问题可能是Activity中[Activity]未写. 加上[Activity]之后,解决问题.

【BUG】android.content.res.Resources$NotFoundException: File res/drawable-xxhdpi/toolbar_line.png from

SafeGod在coolpad(4.0)上执行.登陆进去的设备列表界面遇到的问题.三星和索尼没有这个问题. 06-24 15:23:06.897: E/AndroidRuntime(12655): FATAL EXCEPTION: main 06-24 15:23:06.897: E/AndroidRuntime(12655): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jason.safeGod

Caused by: android.content.res.Resources$NotFoundException: Resource ID #0x7f070058 android-studio 3.0 from canary 5 to canary 6

我升级android-studio到了3.0 canary 6打包编译安装出现如下错误: 07-11 13:00:39.523 8913-8913/dcpl.com.myapplication E/AndroidRuntime: FATAL EXCEPTION: main Process: dcpl.com.myapplication, PID: 8913 java.lang.RuntimeException: Unable to start activity ComponentInfo{dcp