“Default Activity Not Found” on Android Studio upgrade

后端 未结 30 2554
时光说笑
时光说笑 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:11

    100% working

    You must be seeing this

    First open your manifest and check if this present,

      
           
               
               
            
       
    

    If not present add it

    If the above is present but still you see default activity not found.

    Follow these steps:

    1. Click edit configuration

    2. On clicking edit configuration you'll see that launch option is set on DEFAULT ACTIVITY

    1. Change it to nothing.

    Problem solved!

    Happy Coding.

提交回复
热议问题