connect phone to Android-Studio in Ubuntu for debugging

13,321

in Ubuntu you have to create a rules file called 51-android.rules.

here is the details link: Unable to use my Android device as Android emulator using Android studio

here is the gitHub links: 51-android or 51-android.rules

Share:
13,321
Mahdi
Author by

Mahdi

http://www.bitecode.ir http://www.mahditajik.ir

Updated on June 05, 2022

Comments

  • Mahdi
    Mahdi almost 2 years

    I'm new on Ubuntu and install Ubuntu 14.04 LTS and for framework I download non-installable Android Studio and SDK tools separately.

    I tried this link for Installing USB device on Ubuntu. I succeed in installing USB as MTP. but it wont load in Android Studio. when I run my app "waiting for adb" dialog is shown and finnaly says ADB not responding.

    first I thought this is because I don't install adb so I install it with command:

    sudo apt-get install android-tools-adb
    

    but still phone wont load for launch app. is this ADB issue or cause my Android Studio is wont installed or some thing else.