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
I found a solution that works for me. In Developer Options turn off "Monitor apps installed by ADB".
I had this same problem. I solved it by revoking USB Debugging Authorizations and then re-enabling USB Debugging on my chosen device(s).
Edit: Cleaning my project also helped with solving this problem.
I tried rebooting my phone and it worked.
Recently, I was facing the same issue when I have updated My Device (MI A1) OS from Android Oreo(8.0) to Android Pie(9.0),
Solution: Go to the Settings > Developer options > Now click on > Revoke USB debugging authorisations.
It will disable/remove developer options from your device, Now restart your device once and then you just need to re-enable your developer options and that all you need to do, Enjoy Developing on Pie.
Hope this will help you as well.. :)
Check following in your project
build.gradle
filegradle-wrapper.properties
file