“Default Activity Not Found” on Android Studio upgrade

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

    @TouchBoarder almost had it. Although selecting "Do not launch Activity" results in nothing launching.

    In Android Studio under Run/Debug Configuration -> Android Application -> General -> Activity -> select the option "Launch:"

    Choose your Activity. This doesn't exactly fix the intended behaviour but rather overrides it correctly.

提交回复
热议问题