How to connect adb devices in linux | Run apps on a hardware device android
For Installing ADB just open your terminal and type the following command : -
sudo apt install adb
First of all for checking how many adb devices connected to your computer, you just have to typeadb devices command on your terminal this command will list out all the adb devices connected to your comuter. if your devices not appears then follow these step to connect

Open your phone settings go to your android or MIUI version just tap 2-3 times on it, untill it will alert that you are developer, then just go to developer option in your phone.
After opening the developer option you just have to allow USB debugging and after turning on when you type adb devices on terminal you will get no-permission.

So for turning on it you just have to revoke USB debugging and then plug out your USB from your computer.

After that just plug in your USB cable to your computer it will popup new window of Allow USB debugging and display you the RSA fingerprint to you the click on ok now finally check the adb devices by using command and it will display you the now device is connected.


Comments
Post a Comment