Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android studio - unable to locate adb on ubuntu

I am trying to install Android Studio on my ubuntu 14.

Following the official guide While the setup wizard is downloading the components, I get this message:

.... Updated ADB to support the USB devices declared in the SDK add-ons. Stopping ADB server failed (code -1). Unable to run 'adb': Cannot locate program "/home/muser/Android/Sdk/platform-tools/adb": error=2, No such file or directory. Starting ADB server failed (code -1). ....

There are no Android folder under /home/muser

Why is it searching it in that directory? How to fix it?

like image 683
eeadev Avatar asked Feb 10 '23 23:02

eeadev


1 Answers

After installing Android Studio, just run the following command.

sudo apt-get install android-tools-adb

[EDIT] - I installed Android Studio from here

like image 96
v1h5 Avatar answered Feb 13 '23 13:02

v1h5