LMSouq
general-dev Open

"sdkmanager: command not found" after installing Android SDK

JO
Joncom
1 month ago
3 views
Problem Description
I installed via `apt-get install android-sdk`. However, doing a `find / -name sdkmanager` reveals there is no such binary anywhere on the system. On my Mac, the binary exists in `$ANDROID_HOME/tools/bin`. However, on the Ubuntu system (the system with the issue), the binary does not exist there: $ ls $ANDROID_HOME/tools/bin e2fsck fsck.ext4 mkfs.ext4 resize2fs screenshot2 tune2fs Where is the `sdkmanager`? **Edit:** Not sure why the above didn't install `sdkmanager`, however, one solution I found was to install manually (instead of via apt-get) by downloading the Linux files at https://developer.android.com/studio/#downloads under the "Command line tools only" header.

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base