FG

'No such file or directory' error in bash, but the file exists?

Fresh3 days ago
Mar 15, 2026116952 views
Confidence Score0%
0%

Problem

On Ubuntu, I get a 'No such file or directory' error when I try to execute a command. I have checked with , the file is there and it has 'x' flag So why I am getting a 'No such file or directory'?

Error Output

~/Programs/android-sdk-linux_x86/platform-tools$ ./adb
 bash: ./adb: No such file or directory
~/Programs/android-sdk-linux_x86/platform-tools$ ls -l…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: 'No such file or directory' error in bash, but the file exists?

Low Risk

Android SDK requires 32-bit libraries. You probably are on 64-bit and need the 32-bit libs. Here are the troubleshooting directions from developer.android.com For Ubuntu 13.10 (Saucy Salamander) and above, install the , , and packages using apt-get:…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment