Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Doesn't recognize my device- one plus one

I activated Developer Options" and check "USB debugging". I installed google usb driver on sdk.
But still Android studio doesn't recognize my mobile (one plus one).

I tested my mobile on my friend's laptop, it works. Also my android studio recognises Samsung when I install drivers.

But it doesn't recognize one plus one and nexsus.
Do you have any suggestion?

like image 840
roya zamiri Avatar asked Apr 02 '15 08:04

roya zamiri


4 Answers

For One Plus Phones, here is what I did and it worked. I use a One Plus 7T Pro. Before you begin, ensure Android Studio is up and running.

  1. Go to Settings > System > Developer options.
  2. Under Debugging, Tap on Revoke USB debugging authorisations and Tap on Ok when prompted
  3. Switch Off the Developer Mode and Switch it back On
  4. Switch On the Stay Awake option (if you need it)
  5. Under Debugging, Switch On USB debugging option
  6. Remove the USB cable from your device and reinsert it. On the device, you will be prompted to Allow USB debugging for your device ID. Tap on Allow

You should now be able to see the device detected in Android Studio.

This should work for all devices of different brands that are not automatically recognised in Android Studio.

like image 164
Ram Iyer Avatar answered Oct 05 '22 11:10

Ram Iyer


As I said in comment above, when I wanted to debug my app with my OPO today I got the same problem, after moving around to figuring it out, I found out it was because of ADB Driver (which for some unknown reasons got uninstalled from my system).

  • At first, check you Device Manager, if you see a yellow mark beside your phone, it is absolutely because of ADB Driver, so follow the steps below to install it:

    1. Install the latest Samsung drivers: SAMSUNG USB Driver v1.5.33.0
    2. Restart the computer (very important)
    3. Go to Device Manager, find the Android device, and select Update Driver Software.
    4. Select Browse my computer for driver software
    5. Select Let me pick from a list of device drivers on my computer
    6. Select ADB Interface from the list
    7. Select SAMSUNG Android ADB Interface (this is a signed driver). If you get a warning, select Yes to continue.
    8. Done!

Hope it will help you.

More on this

like image 17
Hamed MP Avatar answered Nov 11 '22 00:11

Hamed MP


-Enable developer mode and usb debugging on OPO

-Open Android SDK manager either from Android Studio or the directory the SDK is saved in. 

-Tick Google USB Driver and click ok to download

-Connect OPO

-Open Device Manager

-OPO should show as unknown device

-Right Click on it

-Update or install driver

-Select from list

-Android ADB Interface

-Click ok

like image 4
Karan Avatar answered Nov 11 '22 00:11

Karan


Information from this link OnePlusOne helped me to resolve the Chrome://inspect device not detected - Authorize popup prompt issue

Phone: One Plus One

OS: Cyanogen Version 13.1.2

Content from the link is added here :

Quick guide:

Pre-requisite : Download Google USB Driver from here

  1. Connect your device with Android Debugging enabled to your PC
  2. Open Device Manager of Windows from System Properties.
  3. Your device should appear under 'Other devices' listed as something like 'Android ADB Interface' or 'Android Phone' or similar.
  4. Right click that and click on 'Update Driver Software...'
  5. Select 'Browse my computer for driver software'
  6. Select 'Let me pick from a list of device drivers on my computer' Double-click 'Show all devices'
  7. Press the 'Have disk' button
  8. Browse and navigate to [wherever you have extracted the downloaded file]\google-usb_driver and select android_winusb.inf
  9. Select 'Android ADB Interface' from the list of device types.
  10. Press the 'Yes' button
  11. Press the 'Install' button
  12. Press the 'Close' button Now you've got the ADB driver set up correctly. Reconnect your device if it doesn't recognize it already.
like image 3
Chandre Gowda Avatar answered Nov 11 '22 00:11

Chandre Gowda