09/18 11:00:20: Launching 'app' on Xiaomi Redmi 6. Installation did not succeed. The application could not be installed: INSTALL_FAILED_USER_RESTRICTED Installation via USB is disabled.
Installation failed with message Failed to finalize session : INSTALL_FAILED_USER_RESTRICTED: Install canceled by user. It is possible that this issue is resolved by uninstalling an existing version of the `apk` if it is present, and then re-installing.
Try turning off MIUI optimization (see https://stackoverflow.com/a/48524656/80901). This helped me with a Redmi.
If anyone trying in MI Phones and no other option for him his there, As Turning off MIUI optimization decrease the battery performance. Then he can try cleaning data of Security app.
Note- This can once ask your pattern lock after doing it. After that it will work fine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With