location of the android sdk has not been setup in the preferences的解决方法
来源:互联网 发布:怎么注册淘宝账号卖家 编辑:程序博客网 时间:2024/05/16 09:31
本文转自:http://hi.baidu.com/azhangdeng/blog/item/063b4e90109ec5176e068c8d.html
location of the android sdk has not been setup in the preferences
androidandroid sdk 版本出错, eclipse 无法使用android sdk
打开eclipse时出现无法识别android的项目,即所有android项目均显示红色错误标记。点击eclipse管理android SDK and AVD Manager 插件的标志时出现错误:
location of the android sdk has not been setup in the preferences
如图-1
图-1 location of the android sdk has not been setup in the preferences
点击eclipse->Window->Preferences出现了如下错误:Could not find D:\android-sdk\tools\adb.exe!
如图-2
图-2 Could not find D:\android-sdk\tools\adb.exe!
在android sdk 目录(D:\android-sdk)下,确实找不到adb.exe文件。才想起了原来之前曾经用eclipse 管理插件更新过android sdk,但没有成功,最后连相关的adb文件都丢失。既然是android sdk的版本问题,更新应该就是了。但由于eclipse插件已经无法识别android sdk,所有只能进入android sdk 的安装目录(D:\android-sdk),找到SDK Manager.exe文件,双击弹出如下界面(图-3):
图-3 Choose Packages to Install 选择相应的android sdk进行安装
安装 新的SDK
图-4 安装新的sdk版本
点击安装android完成以后,还需要进行对eclipse关于android 管理插件的更新,否则即使安装了新版本的android SDK,由于新版本的android sdk 目录结构与就版本有所不同,而旧的eclipse 旧的android管理插件因无法识别而报错。
更新android管理插件的办法:eclipse ->Help->Install New Software,选择Android – Android – http://dl-ssl.google.com/Android/eclipse/(原来的安装插件的链接),如图-5
接下来的步骤就是安装,步骤省略。
图-5 更eclipse android管理插件
更新完成后,重启eclipse ,再看看android都安装了哪些sdk。如图-6
图-6 更新后的android sdk各版本。
顺便说一句,要更新android的最新版本,最好用android目录的SDK Manager.exe。
- location of the android sdk has not been setup in the preferences的解决方法
- 个人重启Eclipse时报Location of the Android SDK has not been setup in the preferences的解决方法
- Android安装 Location of the Android SDK has not been setup in the preferences 问题
- Android错误之Location of the Android SDK has not been setup in the preferences
- location of the android sdk has not been setup in the preferences
- location of the android sdk has not been setup in the preferences如何解决
- location of the android sdk has not been setup in the preferences
- About Location of the android sdk has not been setup in the preferences
- 关于Location of the Android SDK has not been setup in the preferences的解决方法
- android sdk安装后出现location of the android sdk has not been setup in the preferences相关问题
- “Location of the Android SDK has not been set up in the preferences”问题的解决
- eclipse运行Android时出现“Location of the Android SDK has not been setup in the preferences”的问题的解
- android 开发问题集(一):SDK更新后 运行程序报错Location of the Android SDK has not been setup in the preferences
- SDK更新后,重新打开Eclipse时提示错误Location of the Android SDK has not been setup in the preferences
- Android问题集锦之三:location of the android adk has not been setup in the preferences 错误处理(eclipse)
- Location of the Android SDK has not beensetup in the preferences.
- 更新sdk后,点击sdk管理器报出location of the android sdk has not setup in the prefrences
- 打开eclipse的opens the android sdk and avd manager提示错误:error:location of the android sdk has not been .
- 最近wifi连接局域网出现问题
- 使用extjs动态load html页面时 ie出现错误 80020101
- Dos命令
- 重要概念----Reference Coordinate System--参考坐标系
- 雷锋读图:一图走遍Facebook平台的五年风波
- location of the android sdk has not been setup in the preferences的解决方法
- Communications link failure due to underlying exception的原因
- Q&A
- VS2010快捷键
- Mysql参数配置优化说明
- c# 字符串函数小结
- 记住这53个要点提高PHP编程效率
- JavaScript学习笔记
- 数据库基础