Sunday, 27 August 2017

intellij idea - "Default Activity Not Found" on Android Studio upgrade



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



I reverted back to 12.0.4 and it everything works again.



Any ideas? I think it might be an issue with a missing plugin. Since the plugin is not installed, it is not able to find the default activity. Another thing could have been a local config, but I doubt it. I deleted the configuration folder to verify and that didn't change anything.


Answer



If you see that error occur after upgrading versions of IntelliJ IDEA or Android Studio, or after Generating a new APK, you may need to refresh the IDE's cache.



File -> Invalidate Caches / Restart...


No comments:

Post a Comment

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...