zoukankan      html  css  js  c++  java
  • 【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,这种情况是没有在配置文件定义这个activity,解决办法如下:

    找到 AndroidManifest.xml文件,在application节点中增加如下代码:

     <activity android:name="com.example.cnotes.Notes_Add"></activity>
              <activity android:name="com.example.cnotes.Notes_History"></activity> 
  • 相关阅读:
    socketserver
    socket进阶
    socket基础
    反射
    subprocess模块
    面向对象高级特性
    面向对象基础
    字典的高级特性
    *号的妙用
    logging模块
  • 原文地址:https://www.cnblogs.com/allen0118/p/5046542.html
Copyright © 2011-2022 走看看