Android:ADB 无法正常工作(在 Fedora 16 上)
我正在使用 xfce 桌面运行 Fedora 16 x64。已从 Eclipse 成功安装 Android Developer Tools(adt 插件)。我什至可以运行模拟器。只是 adb 命令无法在 Linux 命令行中运行。即使我 cd 到 platform-tools 文件夹并运行 adb devices,我也会得到以下输出:
bash: adb: command not found
Eclipse 也会报告有关此的错误。顺便说一句,adb 文件被标记为可执行文件。任何帮助都会很棒...
I'm running Fedora 16 x64 with xfce desktop. Installation of Android Developer Tools (adt plugin) was successfull from Eclipse. I can even run an Emulator. It's just that adb command is not working from the Linux command line. Even if I cd to the platform-tools folder and run adb devices I get this output:
bash: adb: command not found
Eclipse also reports an error about this. By the way adb file is marked as executable. Any help would be great...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我认为这个问题已经在这里得到解决:
Problem with Android SDK on Fedora 14 与 Eclipse
以及此处
64 位 Linux 机器上的 Android SDK
请告诉我。
adb 位于 platform-tools 文件夹下,为了运行它,您有 2 个选项。
选项 1:将 SDK/platform-tools 文件夹添加到 shell PATH 中(我猜是 BASH)
选项 2:进入 platform-tools 文件夹并使用以下命令运行它: ./adb
例如 ./adb logcat
干杯
I think the problem was already addressed here:
Problem with Android SDK on Fedora 14 with Eclipse
and here
Android SDK on a 64-bit linux machine
Please let me know.
adb is located under folder platform-tools and in order to run it you have 2 options.
Option 1: Add the SDK/platform-tools folder into your shell PATH (BASH I guess)
Option 2: go under the platform-tools folder and run it using: ./adb
for instance ./adb logcat
Cheers
sudo yum install android-tools -y
sudo yum install android-tools -y