Monday, November 15, 2021

[SOLVED] Android: ADB is somehow not working (on Fedora 16)

Issue

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...


Solution

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



Answered By - Maurizio Benedetti