项目异常:failed to get the required adt version number from the sdk

本文介绍了解决Eclipse导入项目时报错“failedtogettherequiredADTversionnumberfromtheSDK”及ADB连接问题的方法。主要是由于Eclipse与Android Studio共用了同一个SDK导致的问题,解决方案是将两者使用的SDK分开,通过复制SDK并为Eclipse配置新的SDK路径来解决。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

eclipse导入项目报错:

failed to get the required adt version number from the sdk

eclipse出现failed to get the required ADT version number from the SDK:….\tools\traceview.bat错误,并且无法打开SDK管理器,也不能连接手机。

The connection to adb is down, and a severe error has occured.
You must restart adb and Eclipse.
Please ensure that adb is correctly located at  
'D:\Users\Android\sdk\platform-tools\adb.exe' and can be executed.

这里写图片描述

原因:

eclipse和Android studio的SDK要分开,不可共用。

解决方法:

Android Studio和Eclispe分别引入不同的sdk文件就好了。

复制一份SDK,并为eclipse重新配置SDK路径,即可。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值