Can't run/debug app on phone while connected through USB while using Android Studio (it disconnects when installing)
问题 I got an app that I'm perfectly able to run/debug while connected through USB from Android Studio on my Nexus 5 (Android 6) and LG Stylus 2 Plus (Android 8) phones, but it seems to fail when testing it on my Huawei P30 (Android 9). I'm able to see all 3 devices as available from Android Studios' "Device File Explorer" tab, and browse the files in it, so I know that it is able to connect just fine. Still, whenever I try to debug or run the app on my Huawei, the app is built, and as soon as it