“Activity not found” in Android

后端 未结 7 1421
后悔当初
后悔当初 2021-01-24 23:04

I am using the navigation-drawer template in eclipse to do a simple Android application. I have some trouble with fragment. I declared a fragment called PresenceL

7条回答
  •  一向
    一向 (楼主)
    2021-01-24 23:19

     have you declared this activity in your AndroidManifest.xml?  
    

    Look in your manifest and see if you have an element that has your activity registered. If not, add one.

    Have a look here: http://developer.android.com/guide/topics/manifest/activity-element.html

提交回复
热议问题