“Default Activity Not Found” on Android Studio upgrade

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

    1. Build -> Rebuild Project
    2. File -> Invalidate Caches.. -> Invalidate and restart

    It works for me. Rebuild project to make sure that no errors in project. Then we can invalidate cache.

提交回复
热议问题