skip to Main Content

I’m running Android Studio Arctic Fox 2020.3.1 Patch 2 on my Dell XPS 13-9370 running Linux Ubuntu Ubuntu 20.04.3 LTS and when I try to connect either of my two Pixel 2s via USB, Studio fails to see them. I have USB debugging enabled and have tried setting Default USB configuration to both File transfer and PTP, to no effect. I also tried swapping USB cables and all the other steps described in the Android Studio Troubleshoot Device Connections.

I should mention that I have no problem connecting Studio to my Samsung Tab A running Android 11, or to any of the emulated devices. They all connect just fine. When I plug the USB cable into the Pixel 2s, I don’t even get the permission prompt, even after revoking USB permissions.

I’ve been knocking my head against a wall on this for a couple of days now, trying out every relevant suggestion I’ve found on Stack Overflow. I used to have no problem connecting my two Pixel 2 devices up until a few days ago. The problem also occurs on the previous version of Android Studio. I thought it might have something to do with several new third-party apps I installed, but I forced stop them, rebooted the device and still the problem remains.

5

Answers


  1. Try to install Genymotion Emulator and Launch it first before running your app. I did it and it helped me and i think it will be work

    Login or Signup to reply.
  2. are you using same usb cable for other devices in which it is working ?

    try this once – open developer option and select ‘Select USB Configuration’ . make it mtp and also check if usb debugging is turned on.

    Login or Signup to reply.
  3. Instead of doing it with a cable you could do it wireless just install the plugin adb wifi rest all the instructions are given when you will install that plugin.

    Android WiFi ADB

    Steps to do this(in short)

    Connect your device to your computer using a USB cable.
    Then press the button picture of a button to be pressed on the toolbar and disconnect your USB once the plugin connects your device over WiFi.
    You can now deploy, run and debug your device using your WiFi connection.

    NOTE: Remember that your device and your computer have to be in the same WiFi connection.

    Login or Signup to reply.
  4. Sometimes it happens for the USB connector manager of your operating system. You can uninstall the USB connector manager from your OS Device manager and then restart your laptop. I faced this issue several times and this solution worked for me.

    Login or Signup to reply.
  5. You can hard reset your devices because in some cases that works.

    Otherwise, You can use the developer options wirelessly on your phone.
    Just read this article for a step by step guide for how to do this.

    Use Android device for development wirelessly

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search