Android的亚行移动和Eclipse正在寻找在老地方 [英] Android ADB has moved and Eclipse is looking in the old place
问题描述
我昨晚做了一个SDK更新并将其移动adb.exe。在它的地方它留下了一个名为adb_has_moved.txt文件说。
I did an SDK update last night and it moved adb.exe. In its place it left a file called "adb_has_moved.txt" saying
亚行工具已经转移到平台的工具/
The adb tool has moved to platform-tools/
如果你没有看到在你的SDK这个目录,启动SDK和AVD
管理器(运行Android的工具),并安装的Android SDK平台工具
If you don't see this directory in your SDK, launch the SDK and AVD Manager (execute the android tool) and install "Android SDK Platform-tools"
请也更新PATH环境变量,包括
平台工具/目录下,这样你就可以从任何位置执行ADB。
Please also update your PATH environment variable to include the platform-tools/ directory, so you can execute adb from any location.
所以,我做过的一切,包括路径,现在我可以从任何DOS提示符启动adb.exe。但我的还是不能在Eclipse(伽利略3.52)启动它。当我尝试它说:
So I did all that, including the PATH and now I can start adb.exe from any DOS prompt. But I still can't start it from Eclipse (Galileo 3.52). When I try it says
Android SDK的位置尚未设立在preferences
Location of the Android SDK has not been set up in the preferences
...这是不正确的。 SDK以preferences成立。真正的问题是在preferences窗口,它说:顶部的无法找到C:!\\ SDK \\ Android的SDK-WINDOWS \\ 工具 \\ adb.exe ......不开玩笑 - 更新它移动到C:\\ SDK \\ Android的SDK-WINDOWS \\ 平台工具。因为它指定一个特定的(错误的)路径Eclipse是绕过PATH变量。那么,如何才能获得Eclipse来在正确的地方看?
... which is not true. The SDK IS set up in Preferences. The real problem is at the top of the Preferences window where it says "Could not find C:\SDK\android-sdk-windows\ tools \adb.exe!" ...No kidding - the update moved it to C:\SDK\android-sdk-windows\ platform-tools. Because it's specifying a specific (wrong) path Eclipse is bypassing the PATH variable. So how do I get Eclipse to look in the right place?
推荐答案
我有同样的问题,并更新Eclipse中没有的伎俩。 的Eclipse - >帮助 - >检查更新即可。另见的http://sagistech.blogspot.com/2010/12/can-not-find-adbexe-after-android-sdk.html.
I had the same problem, and updating Eclipse did the trick. Eclipse -> Help -> Check for Updates. Also see http://sagistech.blogspot.com/2010/12/can-not-find-adbexe-after-android-sdk.html.
这篇关于Android的亚行移动和Eclipse正在寻找在老地方的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!