“Default Activity Not Found” on Android Studio upgrade

后端 未结 30 1917
时光说笑
时光说笑 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 05:47

    Firstly make sure that you have included default activity in manifest.

    Example:

    
        
            
            
        
    
    

    If you have tried everything and nothing seems to works then

    • Delete the cache from your %Home%\.gradle\caches and sync project again.

    Or check this answer

    https://stackoverflow.com/a/53476487/5507705

提交回复
热议问题