USB를 통해 앱 설치 : 장치가 일시적으로 제한됨
개발자 모드에서 USB 를 통해 설치를 전환 할 때 :
- 장치가 일시적으로 제한 되었다는 토스트 메시지가 나타납니다.
- 그런 다음 설정을 끕니다.
이에 대한 해결책이 있습니까?
MIUI 최적화를 끄는 것처럼 검색했지만 여전히 작동하지 않습니다. 이런 식으로 Android Studio에서 내 애플리케이션을 디버깅 할 수 없습니다 ...
루팅 된 MIUI v.8.5.1에서 나에게는 다음이 필요합니다.
- 와이파이 끄기
- 모바일 연결 켜기 개발 옵션에서
그 후 USB를 통한 설치 및 USB 디버깅 이 모두 작동하기 시작했습니다.
Xiaomi 휴대 전화가 MIUI 8 이상을 실행하는 경우 'USB를 통해 설치'가 작동하지 않습니다 . 이 옵션을 활성화하려고 할 때 전화기가 일부 중국 서버에 연결을 시도하고 실패한 것 같습니다.
나는 주위에 일을했고 그것은 나를 위해 일했습니다. 아이디어는 VPN을 통해 중국어-상하이 서버에 연결하는 것입니다. 다음을 시도하십시오.
- Playstore 에서 PlexVPN을 설치 하고 로그인하십시오. 24 시간 무료 VPN 서비스를 받게됩니다.
- 중국-상하이 서버를 선택 하고 연결합니다.
- Xiaomi 휴대폰의 개발자 옵션에서 "USB를 통해 설치"를 활성화합니다 .
- 그런 다음 VPN 연결을 끊고 PlexVPN에서 로그 아웃 할 수 있습니다.
즐겨!!
Wi-Fi를 끄고 모바일 데이터를 켠 다음 "USB를 통해 설치"설정을 활성화하기 만하면됩니다. 통과 할 것입니다.
출처 : http://en.miui.com/thread-544718-1-1.html
Xiaomi 4A 에서 Wi-Fi를 끄고 모바일 데이터 를 활성화했습니다 (마지막으로 가지고 있지 않은 모바일 데이터를 활성화하는 데 돈을 낭비한 Xiaomi에 감사드립니다 ). 활성화하려고 할 때마다 Install App Via USB
" 장치가 일시적으로 제한되었습니다 "라는 메시지가 표시되었습니다. 그래서이 해결책을 찾았습니다.
이 매개 변수를 사용하여 장치에서 VPN을 켜고 다시 시도하십시오 Install from USB
.
- 서버 주소:
China server from https://www.vpngate.net/en/
- IPSec 키 :
vpn
- 사용자 이름:
vpn
- 암호:
vpn
(1) 해제 하여 와이파이
(2) 켜기 당신의 이동할 수있는 자료
(3) "USB를 통해 설치"켜기 장치의 개발자 옵션에서.
그게 다야
장치에서 모바일 데이터가없는 장치를 찾은 가장 좋은 방법은 장치의 MI_Account 에서 SIGN_OUT 하고 다시 로그인-> USB_Debugging (보안 설정) 활성화-> INSTALL_VIA_USB 활성화
이 시도
- 설정-> 추가 설정-> 개발자 옵션-> Miui 최적화 끄기-> 다시 시작
- 보안-> 권한-> 오른쪽 상단의 톱니 바퀴 아이콘-> "USB를 통해 설치"켜기
- Settings -> Additional Settings -> Developer options -> Turn On/Off "USB Debugging" -> Turn On "Install vis USB"
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 selectCharging
This worked for me.
In MIUI 8.5 it gives the error like you mention while enabling "install via USB", 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.
A detailed blog: http://sforsuresh.in/xiaomi-mi-note-4-install-via-usb-device-temporarily-restricted/
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!
Disable WiFi and switch install via USB on while you are connected through data and under your xiaomi account. It works!
i had same problem with MI Redmi 4a i solved it by ->
first become a developer by clicking on
setting->About phone->MIUI version (7-8 times)
then, setting->additional setting->developer options->USB debugging
Turn on your usb debugging, then in developer options go for last item name is 'Turn on MIUI optimization', turn off this option it will ask for reboot , then reboot device by clicking Turn off & reboot button
after reboot go to Setting->Permissions click on top right menu button Turn on install via USB option
thats it !
Please verify your email and phone number in Mi account first then try this:
- Settings -> Additional Settings -> Developer options -> Turn off Miui Optimizations -> Restart
- Security -> Permissions -> Gear Icon at top right corner -> Turn On "Install via USB"
- Settings -> Additional Settings -> Developer options -> Turn On/Off "USB Debugging" -> Turn On "Install vis USB"
In my case,
I turned on Airplane mode
and
turn it off
then
turn off Wifi
and
turn on mobile data
.
Now I can turn on install via USB.
May it helps some one like me.
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
I will write what worked for me, these other solutions did not work out.
switch "Install via USB" to ON,
When the dialog box "Allowing" appear, quick tap your screen out of the dialog box.
Repeat it until u see that "Install via USB" is ON.
After u see "Install Via USB" is ON, you need to re-checking by pressing back button and go to developer option again.
This worked for me. Thanks.
Solution with NO VPNing that worked for me:
- go to
Settings->Accounts->MiAccount->AccountSecurity->Devices
- I had a Redmi 9 device listed there (I don't own a Redmi device)
- I removed that Device, so now no devices were listed
- go back to developer settings, enable install via USB, everything works.
I assume not everyone will have a Redmi device listed there, maybe some will have a different device, maybe some will even have the correct device(this is not something I can test by myself), but it makes sense to me that correcting any wrong devices from that list (or maybe deleting all devices like I did) might fix the problem.
For me, on Redmi 3s prime with MIUI 9.2, enabling MIUI optimisation on developer menu worked. It caused phone to restart.
Faced same problem with Xiaomi Mi5 MUI9.
Turning on/off connections or MUI optimization did not work for me. What worked is:
Settings -> Additional Settings -> Privacy -> enable Unknown sources
In my case when i updated MIUI version to the new available version, resolved the issue. So check if there is any update available for your device, go to
Settings => About phone => System update => here it will shows you the new available MIUI version for your device. So update it then try again.
Note: Turn your Mobile data before enabling install via USB.
I had the exact same problem, tried all the suggested workarounds, but none of them worked for me. Strangely enough, what actually has worked for me was turning on MIUI optimization (it was turned off when the problem occurred)! After turning it on, I was able to toggle on install via USB.
This worked for me:
Go to settings-> Mi Account->Account security Then verify phone and email, If not added then add and verify that
I tried everything to no result, then read somewhere that you should use VPN and connect under China to unlock your phone's bootloader. Applied the same solution here and it worked!
If turning your Wi-Fi off is not working for you, then you might have not yet registered your MIUI account as a developer account.
To do so go to MIUI Dev center and register your already created account. After the review process this should not be bugging you anymore.
But remember as other have noted to:
- Turn off Wi-Fi connection
- Turn on mobile connection
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.
if you have root you can force it with adb shell adb shell su setprop persist.security.adbinput 1
Above solutions doesn't work for me. In my case it works by changing Additional settings -> Region to Russia/Some other country.
I had this issue on my Redmi Note 4 with MIUI 9. For me the procedure is very simple.
1. Go to Settings -> Permissions -> Gear icon at top right corner.
2. USB를 통한 설치에 필요한 권한을 부여합니다.
3. 개발자 옵션으로 이동하여 USB를 통해 설치를 사용해보십시오. 이제 작동합니다.
이 프로세스는 한 번입니다. 이 문제도 해결 되었기를 바랍니다.
Wi-Fi를 끄고
모바일 데이터를 켭니다.
개발자 옵션으로 이동하여 USB를 통해 설치를 켜십시오.
나는에있어 MIUI 글로벌 9.6 | 안정적 [9.6.1.0 (NCFMIFD)] .
나에게 문제는 와이파이가 연결되지 않았다는 것입니다. 일부 답변에서 언급했듯이 분명히 장치는 서버에 연결을 시도합니다.
모바일 데이터없이 작동합니다.
'Program Tip' 카테고리의 다른 글
아이콘 만있는 Tablayout (0) | 2020.12.09 |
---|---|
모든 핑 결과에 타임 스탬프를 찍는 방법은 무엇입니까? (0) | 2020.12.09 |
TabLayout 탭 제목 텍스트 (소문자) (0) | 2020.12.09 |
leftBarButtonItem을 설정 한 후 UINavigationController에서 뒤로 / 왼쪽 스 와이프 제스처를 활성화하는 방법은 무엇입니까? (0) | 2020.12.09 |
NavigationView의 항목 텍스트 크기를 어떻게 변경할 수 있습니까? (0) | 2020.12.09 |