After upgrading to the 2.3 version of Android studio, Xiaomi Mobile MIUI8 cannot run the Android studio program, reporting the following error:
is This is if is present, and then re-installing. Warning:uninstalling'll remove the application data! Does want to uninstall the existing application?
Workaroundset the option in Instant run in Android Studio to not select
- Locate the option in instant run according to the following path
File--settings--build,execution,deployment--instant Run
-
Remove the Select box for the Enable Instant Run to hot swap code/resource changes on deploy (default enabled).
3. Click Apply, save the settings will be OK. Turn off MIUI optimization in the developer mode of your phone
Go to the phone developer mode, at the bottom there is a Enable MIUI optimization option, turn off this option will prompt to restart the phone, choose to shut down and restart the restart, run our program again, you can run on the phone.
Android address Xiaomi phone Android Studio install app bug problem it is possible that issue was resolved by uninstalling an Existi