android studio安卓项目出现Error: Default Activity Not Found错误无法编译的解决方案
时间:2016-06-22 23:36:16
收藏:0
阅读:5385
项目明明是没有问题的,有时候突然就出现Error: Default Activity Not Found错误,以前出现过我重新安装了android studio 都没有用,后来在网上(http://stackoverflow.com/questions/15825081/error-default-activity-not-found)终于找到了解决方案。方法很简单,按以下步骤就可以解决。
方法: File -> Invalidate Caches / Restart...
在android studio 的 file选项中有个Invalidate Caches / Restart...点击后会出现一个对话框,点击
Invalidate and
Restart等待android studio 重启就好了!
评论(0)