码迷,mamicode.com
首页 > 移动开发 > 详细

android studio安卓项目出现Error: Default Activity Not Found错误无法编译的解决方案

时间:2016-06-22 23:36:16      阅读:5385      评论:0      收藏:0      [点我收藏+]

标签:

项目明明是没有问题的,有时候突然就出现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 重启就好了!

android studio安卓项目出现Error: Default Activity Not Found错误无法编译的解决方案

标签:

原文地址:http://www.cnblogs.com/zzjbk/p/5608799.html

(0)
(2)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!