Many new developers, are experiencing this type of problem. When their old Android smartphone is easy recognized by Android Studio, but the new one they got is nor recognized.
Here I will show you the correct thing you have to do, so your new Android smartphone would be recognized by Android Studio.
1. Install the Phone or Tablet Drivers
If you just got a new Android smartphone or tablet, first you have to make sure that your phone is has the new drivers. The easiest way to find them is to go on google.com and to search for your phone name + drivers. For example: LG G4 Drivers, open the first or second page which should get you to the download link.
Download and install the drivers, restart your PC. If Android Studio still doesn’t see your phone, check the step 2.
2. Enable USB Debugging
In order that Android Studio will be able to see your phone, you will have to make sure that the phone has the Developer Options turned on and the USB Debugging is enabled.
If you are new to Android and not an advanced user check the following link how to do it:
After following the above link steps, check again if Android Studio can see your Android, if not proceed to the 3rd step.
3. Install the ADB Drivers
The 3rd, step consists of installing the Android ADB Drivers. To read more about the ADB Drivers and to install them, check the following link:
If the 3rd, step didn’t work for you, there is the last small secret that many don’t pay attention but it is an important thing to connect your device with Android Studio. Check the 4th step.
4. Connect Your Phone or Tablet via PTP
Tried running an app from Android Studio, and the phone is not yet recognised? Well there is a small thing that many don’t notice.
The phone connects to your computer via USB, and the new Android operating system versions use different connection protocol types like:
MTP – stands for “Media Transfer Protocol”. Your Android device appears to the computer as a media device, where you are abble to transfer only media files to your phone and nothing more.
PTP – stands for “Picture Transfer Protocol”, and it is actually used by Digital Cameras. When Android uses this protocol, it appears to the computer as a digital camera. MTP is actually based on PTP, but adds some more features.
First thing, make sure that when you connect your Android via USB, slide down the android bar and tap on “USB Connected”.
From there make sure that you choose MTP or PTP instead of Charge Only. Next for most Android users the Android Studio recognizes the device if you choose Camera (PTP) instead of Media Device (MTP).
Now your Android Studio should recognize your device. Tell us in the comments which solution worked for you?
RECOMMENDED: Tweak Your Android with Xposed Framework