Android eclipse unable to launch:The selection can not be launched,and there are no recent launches
出现这个问题基本就是两方面的问题:
1:代码问题 没有启动的入口。可以检查有没有缺少static什么的
2:所有代码都启动不了,那就是eclipse 的问题,最大的问题可能就是JDK问题
2.1 JDK 版本不支持问题
建议选择项目-点击右键-Android tools- fix project properties
或选择项目-点击右键-properties-java compiler 查看jdk版本,并与安装的JDK版本对比,路径可以在(我的电脑|计算机-右键属性-高级系统设置-高级-环境变量-系统变量-path中查看到)。
2.2 JDK路径问题
前往 我的电脑|计算机-右键属性-高级系统设置-高级-环境变量-系统变量-path中设置新路径或把JDK安装到该路径下。
2.3 如果配置完成后,有时打开还是显示 该提示:The selection can not be launched,and there are no recent launches。那么你可在选择项目-点击右键-properties-java compiler中选择更改一下JDK 版本,然后在改为原来的JDK,然后点击一下 apply,再点击OK然后就好了。。。我遇到过这个情况
2.4如果启动有如下问题:
Android requires compiler compliance level 5.0 or 6.0. Found '1.7'或'1.8' instead
可参照帖子:
http://blog.csdn.net/luzhenyuxfcy/article/details/46638127
Android eclipse unable to launch:The selection can not be launched,and there are no recent launches相关推荐
- Java运行时报错,the selection cannot be launched,and there are no recent launches
刚开始学习使用eclipse运行Java,穿件了类,写完了main函数后运行有以下报错: the selection cannot be launched,and there are no recen ...
- 提示“The selection cannot be launched, and there are no recent launches.”
"The selection cannot be launched, and there are no recent launches." 含有main函数的类名与文件名不同.
- ecplise提示:“The selection cannot be launched, and there are no recent launches.”
不是java环境配置的问题 刚安装好ecplise,2个名字不一样会出现该错误
- Java错误: the selection cannot be launched,and there are no recent launches
mian---mainpackage test; import javax.swing.JFrame; public class app extends JFrame{private static f ...
- eclipse运行出现unable to launch 错误
eclipse运行出现unable to launch 错误 新安装的eclipse运行一个简单的HelloWorld程序的时候出现如下错误: unable to launch:The selecti ...
- CC3200 Debug时报错:Unable to launch CCS debug-session based on current selection.的解决方法
错误:Unable to launch CCS debug-session based on current selection. 某文件路径/xxx.ccxml dose not exist in ...
- 安装eclipse及android,Eclipse Android 安装
8种机械键盘轴体对比 本人程序员,要买一个写代码的键盘,请问红轴和茶轴怎么选? 摘要:Eclipse & Android 安装 我参考这个网址去安装Eclipse及Android http:/ ...
- ASA用ASDM管理时报unable to launch device manager xxx.xxx.xxx.xxx
最近开始学习cisco的ASA看到用asdm尝试的时候出现了一些问题,首先就是报unable to launch device manager xxxx.xxx.xxx.xxx 这个错误 . 然后百 ...
- Mac OS X下配置Cocos2d-x for Android(Eclipse)IOS(Xcode)开发环境
前面一段时间只用Cocos2d-x在IOS平台下开发, 学习Cocos2d-x不就是为了他的跨平台特性么? 所以必须也要掌握在Android下的开发, 才能引爆Cocos2d-x的跨平台特性, 发挥其 ...
- android eclipse中导入framework.jar以及使用其隐藏类的方法
想使用开关3G的网络数据 ConnectivityManager cm =(ConnectivityManager)getSystemService(Context.CONNECTIVITY_SERV ...
最新文章
- 又学一招,记录之,数字日期互转
- 上传文件重命名后,下载时,用文件原名,不用Guid命名
- 【项目记录】用vue-h5写可前后端分离和控制计时的物联网移动端app
- 工作笔记-关于工具函数的编写问题
- STP状态切换详述(Cisco实现)
- hihoCoder week10 后序遍历
- Atitit 软件国际化原理与概论
- 【系统分析师之路】 第八章 复盘软件测试与维护(软件维护)
- Windows上免费轻量好用的软件(不定期更新)
- 学生宿舍管理系统概要设计说明书
- 项目管理中的里程碑是什么
- 关于用数组实现输入字符串以单词为元素反转输出思路
- 牛牛游戏牛型判断算法实现
- 模电(八)放大电路静态工作点的稳定性
- hdu1348 Wall
- AI+社区智能管理,赋能智慧城市人情共「智」(人工智能应用案例)
- JAVA - 开发工具
- 【Python_绘图】折线图与散点图
- 实验六 使用T-SQL语句查询数据
- CFA一级学习笔记--权益(二)--头寸与杠杆