【Android 疑难杂症1】android.content.ActivityNotFoundException: Unable to find explicit activity class
Android to Class Find Activity unable content explicit
2023-09-14 08:58:39 时间
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,这种情况是没有在配置文件定义这个activity,解决办法如下:
找到 AndroidManifest.xml文件,在application节点中增加如下代码:
<activity android:name="com.example.cnotes.Notes_Add"></activity> <activity android:name="com.example.cnotes.Notes_History"></activity>
相关文章
- android 5.0新特性学习--视图阴影
- android脚步---APP引导页添加
- 《Android源码设计模式》--策略模式
- 【Codeforces 231C】To Add or Not to Add
- Android Studio JSON To Kotlin Class插件安装,它把Json自动转换Kotlin Class
- android 9.0 10.0 设置上网应用白名单(上网app白名单)
- 蓝牙压力測试报抛android.os.TransactionTooLargeException异常分析总结
- 【Android 逆向】IDA 工具使用 ( 函数窗口 Function window | 创建引用图 Xrefs graph to | 创建调用图 Xrefs graph from )
- 【Android 安全】DEX 加密 ( Application 替换 | Android 应用启动原理 )
- Android的Bitmap和BitmapDrawable类解析-android学习之旅(六十)
- Android实战技巧之十九:android studio导出jar包(Module)并获得手机信息
- Android Studio下“Error:Could not find com.android.tools.build:gradle:2.2.1”的解决方法
- Error:In <declare-styleable> FontFamilyFont, unable to find attribute android:font
- Android Stdudio 打包Apk签名时出现状态窗口报错提示:Please select at least one of the signature versions to use