adb connect 192.168.2.116
命令执行成功后执行安装命令
adb -s 192.168.2.116 install -r D:\xxx.apk
出现如下错误
Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.INSTALL_PACKAGES.
解决办法
先执行adb root
命令,再执行adb -s 192.168.2.116 install -r D:\xxx.apk
网友评论