android环境配置(adb问题)

android环境配置步骤:http://developer.android.com/sdk/installing.html(官方文档,我就不翻译了)

中间遇到的问题:

1.myelipse兼容性不好,尤其我用的是7.0,建议新手使用推荐的elipse classical

2.运行helloworld程序时提示错误:

[2012-05-31 21:13:58 - HelloAndorid] The connection to adb is down, and a severe error has occured.

[2012-05-31 21:13:58 - HelloAndorid] You must restart adb and Eclipse.

[2012-05-31 21:13:58 - HelloAndorid] Please ensure that adb is correctly located at 'C:\android-sdk\platform-tools\adb.exe' and can be executed.

搜索到的解决方案

 

 

Try below steps:

  1. Close the Eclipse if running
  2. Go to the Android SDK tools directory in Command Prompt
  3. type adb kill-server
  4. then type adb start-server
  5. No error message is thrown while starting ADB server, then adb is started successfully.
  6. Now you can start Eclipse again.

it worked for me this way, Eclipse should be closed before issuing these commands.

运行第四步时命令行提示ADB server didn't ACK

有人的解决方案说:要关闭任务管理其中的adb.exe,我里面压根没有。后来经过种种尝试,想到我安装了豆瓣夹,而网上有的方案和这个有关系(我并没有运行,只是安装了)

于是我删掉了豆瓣夹,于是,问题解决!!!

  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值