Android Studio no longer seems to be detecting when an app has installed on a target device and opened. It gets stuck on \"Installing APK\" and the progress bar is empty. Th
uninstalling the previous installed app worked for me
Just reboot your phone (: It happens after update android version.
It turns out the problem wasn't with Android Studio, but with the device I was using for testing. I tried a different device and it behaved normally, progressing beyond "Installing APK" and stopping on breakpoints.
Somehow the "wait for debugger" setting in developer options on the problem device had switched to off. I switched this back on and now this device is behaving normally.
-Note that I had to choose an arbitrary debug app for the setting to become active. Once I'd set it on, I deselected the debug app and the setting remained on, as I left it. This was a HUAWEI P8 running android 6.0 API Level 23.
It doesn't hurt to verify your USB port. In my case it was the faulty USB port which I had to switch to the mobo's one instead of the case port.
My case was similar but for Android Version 10 required having the Verify bytecode of debuggable apps to off.
Final settings were:
Device: Pixel XL
In my case, Second Space was created but not switched on. I had to delete the second space and everything worked just fine.
My settings are:
Device: Redmi Note 5 Pro