Android Studio: Trouble connecting Huawei device to Android Studio?
Asked Answered
E

2

8

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

Evars answered 31/8, 2019 at 17:16 Comment(5)
Hi, I have this issue too. Are you able to fix it ?Pansy
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".Evars
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.Dished
Mine only works when I set the USB mode to 'Transfer files'.Evars
I also solved setting debug-mode on and 'Trasfer files' on usbStepp
E
11

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.

Evars answered 16/5, 2020 at 17:12 Comment(2)
this works 2023Amaryl
It works for me, and I also restarted Android Studio.Burnejones
I
0

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

Incorporable answered 2/11, 2020 at 20:24 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.