android studio 信息如下:
Android Studio Iguana | 2023.2.1
Build #AI-232.10227.8.2321.11479570, built on February 22, 2024
Runtime version: 17.0.10+7-b1000.50 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 16
Registry:
ide.browser.jcef.sandbox.enable=false
ide.experimental.ui=true
Non-Bundled Plugins:
co.fitten.fittencode-intellij-beta (0.10.12)
Docker (232.10227.13)
问题描述:
使用wifi debug代替传统usb调试,安装应用的时候出现
INSTALL_FAILED_USER_RESTRICTED
解决办法:
打开开发者模式
勾选 1.无线调试 2.USB调试 3.USB安装
取消勾选 : 1.启用MIUI优化 也就是关闭MIUI优化