首页 > 移动平台 > 详细

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

时间:2016-06-22 23:35:24      阅读:174      评论: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)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!