When I toggle on the install via USB in developer mode:
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......
Google, Sony, OnePlus: Go to Settings > Tap About Phone > Tap Build number 7 times to enable Developer options. Then go to System > Developer options > Turn on USB debugging, and tap OK on the Allow USB debugging pop-up dialog.
"Install via USB" wont work if your Xiaomi phone is running MIUI 8 or above. Looks like when you try to Enable this option, your phone trys to connect to some chinese server and fails.
I got a work around and it worked for me. Idea is to connect to Chinese-Shanghai server through VPN. Try the following:
Enjoy!!
All you have to do is Turn your Wi-Fi off, turn on mobile data, and then enable the setting for "Install via USB". It'll go through.
Source: http://en.miui.com/thread-544718-1-1.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With