-1

When i pressed “Install via USB” in MI Note 4 then the message “The device is temporarily restricted” poped up.Can anyone tell me how to run android app in MI Note 4 through Android Studio?

Phantômaxx
  • 37,901
  • 21
  • 84
  • 115
  • Was your device locked during app installation? – BlackBeard Dec 04 '17 at 10:13
  • 1
    Doesn't seem like a programming question. Try editing according to [this](https://stackoverflow.com/help/on-topic) or posting to a more appropriate [sister site](https://stackexchange.com/sites) - sorry, dunno which would be best off the top of my head. – Paul Hodges Dec 04 '17 at 14:18

1 Answers1

0

In MI devices there are some more restriction because of which Install via usb doesn't work, do this

here's solution that helped me: 1. Settings -> Additional Settings -> Developer options -> Turn off Miui Optimizations -> Restart 2. Security -> Permissions -> Gear Icon at top right corner -> Turn On "Install via USB" 3. Settings -> Additional Settings -> Developer options -> Turn On/Off "USB Debugging" -> Turn On "Install vis USB"

saurabh yadav
  • 567
  • 6
  • 14