Android Studio: Failure [INSTALL_FAILED_USER_RESTRICTED]

I had the same issue. It happens only on Flyme due to Security App. To enable installation:

  1. Open Security Application. (it is one of preinstalled Flyme apps)
  2. Go to Permission
  3. Usb app installation.
  4. 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.

enter image description here


I also had the same problem with my Xiaomi Redmi note 3. here's how i solved it,

  1. Go to settings>>Additional Settings.
  2. Go to developer options.(if its not there, first goto about phone and tap on build number 7 times...and start again from step 1)
  3. Click on install via USB.
  4. That's all, you are ready to rock :)