As抽风:Could not identify launch activity: Default Activity not found Error while Launching activity
来源:互联网 发布:c语言中百分之f 编辑:程序博客网 时间:2024/05/16 19:10
本人也是用As差不多不到时间,现在用的是2.0正式版本! 今天 我就是抽取了一个抽象方法,抽风的as 就报 Could not identify launch activity: Default Activity not found Error while Launching activity 这个,下宝宝一跳,各种撤回都不行,这可咋办,项目还要做不是,于是开启了 stackoverflow ,坑爹的网络不给力! 最后解决的方法找到了:
帖子上 选中的方法是:
down vote
In Android Studio, right click on the project and choose Open Module Settings. Then go to theSources tab in your module, find the src folder, right click on it and mark it as Sources (blue color).
EDIT: There is no sources tab in later versions of Android Studio, but you can edit the build.gradlefile instead: http://stackoverflow.com/a/22028681/1101730 (thanks for comment Josh)
但是坑爹的我没找到相对应的 选项,那不行啊,还得继续啊!在上面的 回答下面还有个 回答如下:
I had the same problem while importing a project into Android Studio, probably caused by the fact that the project has been developed on an earlier version of Android Studio than currently installed on my computer.
What solved it was simply executing:
File -> Invalidate Caches / Restart...
and then clicking on Invalidate and Restart
.
上面的那个方法是 清理缓存,返回到上次正常状态!
File -> Invalidate Caches / Restart...
and then clicking on Invalidate and Restart
. 等待1到2分钟,ok了。
In Android Studio, right click on the project and choose Open Module Settings. Then go to theSources tab in your module, find the src folder, right click on it and mark it as Sources (blue color).
EDIT: There is no sources tab in later versions of Android Studio, but you can edit the build.gradlefile instead: http://stackoverflow.com/a/22028681/1101730 (thanks for comment Josh)
- As抽风:Could not identify launch activity: Default Activity not found Error while Launching activity
- Andriod安卓 Could not identify launch activity: Default Activity not found问题
- Default Activity Not Found
- AS开发中出现Error(六)——Error: Activity class {} does not exist.Error while Launching activity
- Error running app: Default Activity Not Found
- Error running app: Default Activity Not Found
- Error while Launching activity
- Default Activity not found错误
- launching not activity
- Android Studio ,Run Configuration Error:Default Activity not found
- 程序无法运行:Error Default activity not found
- android studio 提示Error:Default Activity not found
- AndroidStudio:Error running app: Default Activity Not Found
- Error running app: Default Activity not found解决办法
- Android开发:default activity not found
- default activity not found,android studio
- Android Studio-Default Activity not found
- AndroidStudio default activity not found错误
- 关于LeetCode中Factorial Trailing Zeroes一题的理解
- 分治法求解切割篱笆
- Linux命令(8):touch
- iOS<Photos/Photos.h>与<AssetsLibrary/AssetsLibrary.h>and 相机
- 复杂链表的复制
- As抽风:Could not identify launch activity: Default Activity not found Error while Launching activity
- Web 前端概述
- CCF 201509-4 高速公路
- 黑马程序员前端培训:高效的前端编程入门训练方法
- Struts2 自定义结果类型
- 图——邻接表
- mySQL进行多表的左外连接、右外连接、内连接、全外连接
- Linux下查看系统版本号信息的方法
- 圆上的随动点如何通过动态点值绘制