简体   繁体   English

未找到DDMS文件Android \\ platform-tools \\ adb.exe

[英]DDMS Files Not Found Android\platform-tools\adb.exe

I have Eclipse and Java SE and am running Windows XP and am trying to setup Android for Eclipse. 我有Eclipse和Java SE,我正在运行Windows XP,我正在尝试为Eclipse设置Android。

I first: 我先来:

Visit http://developer.android.com . 访问http://developer.android.com 2. On the main page that appears, click the link to download the Android SDK. 2.在出现的主页面上,单击链接以下载Android SDK。 3. Find a link appropriate to your operating system (Windows, Mac OS X, or Linux). 3.找到适合您的操作系统的链接(Windows,Mac OS X或Linux)。 4. Click the link to begin the download. 4.单击链接开始下载。

I installed the Android SDK Tools 我安装了Android SDK工具

I then installed ADT as followed ( note I used http instead of https ) under downloading the ADT plugin. 然后我按照下载ADT插件的方式安装了ADT(注意我使用的是http而不是https)。

http://developer.android.com/sdk/installing/installing-adt.html http://developer.android.com/sdk/installing/installing-adt.html

It gave me some errors saying that somethings needed to be installed which would have been installed if i'd installed Java EE. 它给了我一些错误,说我需要安装的东西,如果我安装了Java EE就可以安装。

I saw a site that said go into the SDK Manager, so I tried installing somethind and it gave me this error: 我看到一个网站说进入SDK管理器,所以我尝试安装somethind,它给了我这个错误:

[2012-06-28 14:32:27 - DDMS] DDMS files not found: K:\\Android\\platform-tools\\adb.exe [2012-06-28 14:32:27 - DDMS] DDMS files not found: K:\\Android\\platform-tools\\adb.exe [2012-06-28 14:32:27 - DDMS]找不到DDMS文件:K:\\ Android \\ platform-tools \\ adb.exe [2012-06-28 14:32:27 - DDMS]未找到DDMS文件: K:\\ Android的\\平台工具\\ adb.exe

What does this mean, and how can I get Android to work. 这意味着什么,以及如何让Android工作。 Do I still need some thigns that Java EE has for Android? 我还需要Java EE为Android设计的一些东西吗?

I hate to say it, but restart Eclipse. 我讨厌说,但重启Eclipse。 My recent install gets confused sometimes and that's how I fix it. 我最近的安装有时会感到困惑,这就是我修复它的方法。 Hasn't failed to correct it yet. 尚未纠正它。

The file path is wrong. 文件路径错误。 You probably renamed a file in the directory after you installed Eclipse, and now you have to change the file path manually or re-install the program. 您可能在安装Eclipse后重命名了目录中的文件,现在您必须手动更改文件路径或重新安装程序。 That's why in the instructions, you are asked to install to developer on your main drive, and not some other file. 这就是为什么在说明中,要求您在主驱动器上安装开发人员,而不是其他文件。

After moving eclipse to another drive I experienced this problem. 将eclipse移动到另一个驱动器后,我遇到了这个问题。 Fix it by setting the SDK folder at Eclipse > Window > Preferences > Android > SDK Location: 通过在Eclipse> Window> Preferences> Android> SDK Location设置SDK文件夹来修复它:

Changing the Drive letter from C to E fixed this for me. 将驱动器号从C更改为E为我修复此问题。 Locate your eclipse folder on your drive and correct the path or use the browse button. 在驱动器上找到您的eclipse文件夹并更正路径或使用浏览按钮。

The path for me was E:\\adt-bundle-windows-x86_64-20140702\\sdk 我的路径是E:\\ adt-bundle-windows-x86_64-20140702 \\ sdk

Shutdown any other app that might be connecting to the phone via adb.exe eg. 关闭可能通过adb.exe连接到手机的任何其他应用程序,例如。 Visual Studio using android sdk. Visual Studio使用android sdk。

Restart eclipse if needed. 如果需要,重启eclipse。

http://developer.android.com/sdk/installing/index.html?pkg=tools安装安装程序andriod intaller它会没事的

在此输入图像描述

Set your SDK path in Preferences (Eclipse > Window > Preferences > Android > SDK Location:) 在Preferences中设置SDK路径(Eclipse> Window> Preferences> Android> SDK Location :)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Adb.exe文件从平台工具中自动删除 - Adb.exe file auto deleted from platform-tools 找不到DDMS文件/ opt / android-sdk-linux / platform-tools / hprof-conv ubuntu - DDMS files not found /opt/android-sdk-linux/platform-tools/hprof-conv ubuntu Adb.exe(Android调试桥)无法安装.apk - Adb.exe (Android Debug Bridge) Can't Install .apk 无法下载Android SDK平台工具 - Having trouble downloading Android SDK platform-tools Appium找不到“ adb.exe” - Appium could not find 'adb.exe' 如何使用adb.exe shell命令执行android应用程序时发送参数 - howto send a parameter when executing a android app with adb.exe shell command 由于android studio和adb.exe的更新,我无法运行我的程序 - I am not able to run my program due to update of android studio and adb.exe 从Java程序以编程方式安装Android应用(Runtime.getRunTime()。exec(adb.exe安装app_package_name) - Programmatically install Android app from java program (Runtime.getRunTime().exec(adb.exe install app_package_name) 原始错误:在 ["/usr/local/share/android-sdk/platform-tools/aapt"] Appium - Eclipse 中找不到“aapt” - Original error: Could not find 'aapt' in ["/usr/local/share/android-sdk/platform-tools/aapt"] Appium - Eclipse java.io.IOException:无法运行程序adb.exe CreateProcess error = 5,拒绝访问 - java.io.IOException: Cannot run program adb.exe CreateProcess error=5, Access is denied
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM