“Default Activity Not Found” on Android Studio upgrade

后端 未结 30 1995
时光说笑
时光说笑 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条回答
  •  旧时难觅i
    2020-11-22 05:57

    This method works for me Click on the app icon and then choose edit configurations. In the edit-configuration choose specified activity instead of the default activity. Then give the path of the activity below.

    In the end sync with the gradle files.

提交回复
热议问题