./fastboot: No such file or directory
Asked Answered
H

2

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
...
Heteromorphic answered 23/8, 2012 at 23:21 Comment(4)
Your commands do not make sense. cd cannot return ./adb: No such file or directory. Please post the right commands.Haldas
you're right, copy paste messed up... updatedHeteromorphic
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.Polygenesis
https://mcmap.net/q/101285/-how-to-make-android-39-s-aapt-and-adb-work-on-64-bit-ubuntu-without-ia32-libs-works-for-versions-12-13-and-14Greeneyed
O
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

Orrin answered 24/8, 2012 at 2:38 Comment(1)
thank you! not sure if this was on the old version of their website, but I'm glad its there now!Heteromorphic
C
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

Cassity answered 24/8, 2012 at 1:35 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.