Default Activity not found in Android Studio

后端 未结 28 1420
盖世英雄少女心
盖世英雄少女心 2020-11-29 03:22

I just upgraded to Android Studio 0.2.8 and I am getting an error that says \"Default Activity not found\" when I try to edit the run configurations.

When I launch A

28条回答
  •  夕颜
    夕颜 (楼主)
    2020-11-29 03:37

    Have you added ACTION_MAIN intent filter to your main activity? If you don't add this, then android won't know which activity to launch as the main activity.

    ex:

    
          
          
          
    
    

提交回复
热议问题