Android Studio: Failure [INSTALL_FAILED_USER_RESTRICTED]
I had the same issue. It happens only on Flyme
due to Security
App.
To enable installation:
- Open Security Application. (it is one of preinstalled
Flyme
apps) - Go to Permission
- Usb app installation.
- Turn off USB installation monitor.
Have found the solution here: http://bbs.flyme.cn/thread-1106582-1-1.html using Google Translate.
The device is temporarily restricted error appears in MIUI 8.5. To resolve the error you need to make WIFI off and make mobile data on and then enable the option “Install via USB”. It will work for you. Enjoy!
I have had the same problem with XIAO MI.
I went to Settings -> Additional Settings -> Developer options -> Turn On "Install via USB"
Only you can activate this switch if you have a Xiaomi count, create and activate your count, then sign on and turn on install via USB.
I also had the same problem with my Xiaomi Redmi note 3. here's how i solved it,
- Go to
settings
>>Additional Settings
. - Go to
developer options
.(if its not there, first gotoabout phone
and tap onbuild number
7 times...and start again from step 1) - Click on
install via USB
. - That's all, you are ready to rock :)