“Default Activity Not Found” on Android Studio upgrade

后端 未结 30 2488
时光说笑
时光说笑 2020-11-22 05:08

I upgraded IntelliJ Idea from 12.0.4 to 12.10.

Now all the modules in my Android project give the error:

Error: Default Activity Not Found

30条回答
  •  庸人自扰
    2020-11-22 06:00

    I got this error.

    And found that in manifest file in launcher activity I did not put action and category in intent filter.

    Wrong One:

    
    
        
        
    
    
    

    Right One:

    
    
        
            
            
        
    
    
    

提交回复
热议问题