Android Development: Adding phone to Android Studio


Adding your phone to Android Studio needs the "Developer Options" on phone to be enabled.


Step 1: Open your phone settings and navigate to "General" tab at the top and click on "About device"



Step 2: Scroll down to the bottom and tap the build number 7 times, this will turn on the developer options. And now once if you go back to previous screen you will see "Developer options" above the "About device" tab. Open "Developer options" and check the box beside "USB Debugging"





Step 3: Install your phone driver software on the computer and then connect your phone to your computer via USB, this will install the necessary phone drivers on your computer.

Step 4: Once above steps are completed. Open your project, from the tool bar click on the small button that says "app" with the android logo and click on "Edit Configurations".



Step 5: Clicking on "Edit Configurations", pops up a dialog box with options to choose the device. Select "USB device" and click "OK". Now the app installs on your phone.



0 comments: