6

I'm new to Android Studio and at the moment i'm trying to run my Android Studio apps on my device (HUAWEI P20 PRO) but nothing works for me. Android Studio doesn't show my device in AVD manager.

Can you tell me what I've missed?

  • USB debugging is on

  • Driver is installed with HiSuite (in device manager: Huawei HDB Interface) Note: Google USB Driver is installed through Android Studio.

Using Android Studio 3.5

DLO
  • 914
  • 1
  • 13
  • 30
  • 1
    Hi, I have this issue too. Are you able to fix it ? – salih Sep 06 '19 at 07:39
  • 3
    Yeah, what worked for me was to make sure that i clicked "Transfer files" on the phone when it was plugged in to the PC. Then I toggled OFF USB debugging and then ON again. Suddenly, my device showed up as an option in "Available devices". – DLO Sep 08 '19 at 08:07
  • 1
    Is your USB mode set to Charge? I have a P10 Lite and the only way I can do apps over the USB cable is via charge. – dmanexe Oct 20 '19 at 13:05
  • 1
    Mine only works when I set the USB mode to 'Transfer files'. – DLO Oct 29 '19 at 13:56
  • 1
    I also solved setting debug-mode on and 'Trasfer files' on usb – f_s May 15 '20 at 14:03

2 Answers2

7

Solved: What worked for me was to make sure that I clicked "Transfer files" on the phone when it was plugged in to the PC. Then I toggled OFF USB debugging and then ON again. Suddenly, my device showed up as an option in "Available devices" in Android Studios.

DLO
  • 914
  • 1
  • 13
  • 30
0

In addition to the solution in the chosen answer I had to restart android studios for my device to appear in available devices.

calvin
  • 870
  • 1
  • 13
  • 22