[Solved] Android studio fails to install apk into Xiaomi Note5A (Redmi) (Installation failed with message INSTALL_FAILED_USER_RESTRICTED:) [closed]


Here is the 100% working solution for this issue. It works in every xiaomi device and its tested –

Go to Settings -> Permissions -> Install via USB: Uncheck your App if it’s listed.
Go to Settings -> Additional Settings -> Privacy: Check the Unknown Sources option.
Go to Settings -> Additional Settings -> Developer options: Check the Install via USB option.
Go to Settings -> Additional Settings -> Developer options:Enable view attribute inspection
Finally Go to Settings -> Additional Settings -> Developer options:Turn off MIUI optimization.
And then restart your device and whoooaaaa it will work i guaranteee..

solved Android studio fails to install apk into Xiaomi Note5A (Redmi) (Installation failed with message INSTALL_FAILED_USER_RESTRICTED:) [closed]