“Activity not found” in Android

后端 未结 7 1410
后悔当初
后悔当初 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:17

    Please open the manifest file and declare like this:

    
            
                
    
                
            
        
    

    if this is your lauch activity then do this otherwise do this

    
        
    

    type the name of your java file which extends Activity not the Fargment. Means the Fragment which creates from that Activity java file.

提交回复
热议问题