7

I've struggled with this for awhile! I'm beating my head against the wall.

I am trying to run fastboot (android-linux-tools/platform-tools/fastboot) and I am getting a No such file or directory message.

I am on ubuntu 12.04 x64. I am not new to linux, I'm baffled.

$ cd ~/android-sdk-linux/platform-tools
$ ./fastboot
-bash: ./fastboot: No such file or directory
$ ./adb devices
-bash: ./adb: No such file or directory
$ ls -la
...
-rwxrwxr-x  1 nick nick   159644 Apr 16 21:10 adb
...
-rwxrwxr-x  1 nick nick   149928 Aug 16 21:10 fastboot
...
Mike Laren
  • 8,028
  • 17
  • 51
  • 70
nickaknudson
  • 4,769
  • 2
  • 15
  • 16
  • 1
    Your commands do not make sense. `cd` cannot return `./adb: No such file or directory`. Please post the right commands. – shkschneider Aug 23 '12 at 23:52
  • you're right, copy paste messed up... updated – nickaknudson Aug 24 '12 at 01:30
  • This is weird, but can you run successfully this command `~/android-linux-tools/tools/android`? If you can, you may want to update to the latest version. Or, maybe you can simply download the latest version, and see whether the problem still exists. – dacongy Aug 24 '12 at 01:42
  • https://stackoverflow.com/a/19524010/1778421 – Alex P. Jun 10 '18 at 00:00

2 Answers2

10

Is this a new machine where you have just downloaded the SDK? Since you are running a 64-bit distribution, check whether you have installed the ia32-libs package needed for the SDK executables to work:

sudo apt-get install ia32-libs

Joe
  • 14,039
  • 2
  • 39
  • 49
0

Try with su.

I had the same problem with .android directory and even with the ls command I could not see it(even after su). After su I could cd in the directory

MayTheSchwartzBeWithYou
  • 1,181
  • 1
  • 16
  • 32