Install app via usb: The device is temporarily res

2020-01-27 02:44发布

When I toggle on the install via USB in developer mode:

  • it will pop the toast message said that the device is temporarily restricted
  • then toggle off the settings.

Is there any solution for this?
I searched through all the way like turning off MIUI optimization but still does not work. I cannot debug my application by Android Studio in this way......

30条回答
爱情/是我丢掉的垃圾
2楼-- · 2020-01-27 03:04

This worked for me:

Go to settings-> Mi Account->Account security Then verify phone and email, If not added then add and verify that

查看更多
神经病院院长
3楼-- · 2020-01-27 03:05

These steps worked for me after struggling 1 hour, Not needed to connect to Chinese server.
(1) Turn Off your Wi-Fi
(2) Turn Off your Mobile Data
(3) Turn On "Install via USB" from Developer Option of your device.
4) It will show the Error "No network found"
5) Now Turn On your Mobile Data
6) Again Turn on "Install via USB"
7) it will work, now Happy!

查看更多
老娘就宠你
4楼-- · 2020-01-27 03:06

Redmi Note 4 (Nougat 7.0, MIUI 9)

For me, options like Turning WiFi off & on, trying on Data Network, or Turning off MIUI Optimization din't work. Also, the Install via USB never got enabled.

Following steps helped me to install apps via USB

  • Additional Settings > Developer Options
  • Here, click on USB Debugging (Security Settings). This will take you through some warning screens. Allow (click on Next/Accept) for all. At the end, it will be enabled.
  • Now turn on the Install via USB and it gets enabled.
  • Try to Run the app by connecting your device. If it still doesn't run (as in my case), find Select USB Configuration and select Charging This worked for me.
查看更多
Emotional °昔
5楼-- · 2020-01-27 03:06

In my case,I was using my phone that is Redmi 4 and the usb debugging was not working.It was always giving the message "the device is temporarily restricted" .I have tried all this steps but the result was same.Then I found the foolish thing that I have put the device in charging mode only.When I switch to MTP(Transfer files) and then it started working correctly.I know its a foolish thing but it may help to someone.

查看更多
我命由我不由天
6楼-- · 2020-01-27 03:07

Turning off Wi-Fi and enabling Mobile Data (thank you Xiaomi for wasting my money to enabling mobile data which the last one I didn't have) on Xiaomi 4A did not work for me. Every time I tried to enable Install App Via USB it displayed me "the device is temporarily restricted". So, I found this solution:

Turn on VPN onto your device with these parameters and try again toggle Install from USB:

  • Server Address: China server from https://www.vpngate.net/en/
  • IPSec Key: vpn
  • Username: vpn
  • Password: vpn

I hope this info will be helpful to someone

查看更多
闹够了就滚
7楼-- · 2020-01-27 03:07

I got this problem in my Xiaomi Mi5 from India. All the mentioned solutions didn't work in my case. Then I tried to figure out the Core reason behind it and solve it. In MIUI, in order to change "Install via USB" option, you must be connected to the internet and signed in your Mi account. Due to some reason, requests from out of the China servers are getting rejected, so I connected to one open China VPN and tried again to enable 'Install via USB' and I got success. For detailed solution and VPN details, see this useful Youtube video: https://youtu.be/MeKUJlD-Ke4

查看更多
登录 后发表回答