Android 问题:Eclipse 找不到 ADB.exe [英] Android Problem: Eclipse cannot find ADB.exe

查看:49
本文介绍了Android 问题:Eclipse 找不到 ADB.exe的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

首先,我知道之前有人问过这个问题,即:在我的工具文件夹中找不到 adb.exe

First, I know this problem has been asked before, namely : Could not find adb.exe on my tools folder

但我尝试了所有给出的答案,但没有任何效果(即使是接受的答案).

but I tried every answer given and none work (even the accepted answer).

我的问题是我更新了 Android SDK,现在 Eclipse 找不到 adb.exe.我知道它在哪里,它在 platform-tools 目录中,但我无法让 Eclipse 从那里读取它.我更新了路径.现在发生的事情是,在我所有的项目中,资产文件夹都是空的,这意味着没有 android jar 文件.此外,从 Eclipse 内部单击 SDK 更新管理器不会执行任何操作.我不知道为什么.最后,如果我尝试在 Eclipse 中安装新软件(ADT 更新?),它不会允许它.

My problem is that I updated the Android SDK and now Eclipse cannot find adb.exe. I know where it is, it is in platform-tools directory, but I can't get Eclipse to read it from there. I updated the path. Now what has happened is, in all my projects the asset folder is empty, meaning there is no android jar file. Also, clicking on the SDK update manager from inside eclipse does nothing. I have no idea why. Lastly, if I try to install new software in Eclipse (ADT update?) it wont allow it.

在项目 -> 首选项选项卡中,我收到以下消息:

In the project -> preferences tab I get the following message:

找不到 C:\Program文件\android-sdk-windows\tools\adb.exe!

Could not find C:\Program Files\android-sdk-windows\tools\adb.exe!

我正在使用 Galileo eclipse 在 Windows 7 上工作.任何人都可以提供任何帮助吗?

I'm working on Windows 7 with Galileo eclipse. Can anyone offer any help?

推荐答案

解决方案很简单.不幸的是,我忘了您需要管理员权限.这就是 eclipse 不会安装新软件包的原因.我只是以管理员身份打开 Eclipse,一切都很顺利.由于某种原因丢失了我所有的 R.java 文件,但通过清理项目将它们找回.

Solution is simple. Unfortunately I forgot you need admin rights. That's why eclipse wouldn't install new packages. I simply opened Eclipse as the Admin and everything went smoothly. Lost all my R.java files for some reason, but got them back by cleaning the project(s).

这篇关于Android 问题:Eclipse 找不到 ADB.exe的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆