1.先连接,
adb connect xx.xx.xx.xx
然后退出,进行reboot
exit
adb root
adb disable-verity
adb reboot
重启后开机,继续连接wifi
adb root
adb remount
2.
依次删除
rm -rf ./data/system/package_cache/1/GduRCLauncher-16
rm -rf ./data/dalvik-cache/arm64/system@app@GduRCLauncher@GduRCLauncher.apk@classes.dex
rm -rf ./data/dalvik-cache/arm64/system@app@GduRCLauncher@GduRCLauncher.apk@classes.vdex
rm -rf ./system/app/GduRCLauncher
rm -rf ./system/app/GduRCLauncher/GduRCLauncher.apk
3. 怎么知道是否删除成功,输入下列命令没有反应即可
ls -la ./data/system/package_cache/1/GduRCLauncher-16
注意:
如果有:
unable to connect for root: more than one device/emulator
可以执行 adb kill-server
再重新adb root,再重新进
1.连接
adb connect 192.168.151.51
2. 安装
adb install -t -r E:\desktop\S400Test\battery\SerialPort.apk
注意:
安装成功会反馈
Performing Streamed Install
Success
如果报错:
error: more than one device/emulator
Performing Push Install
adb: error: failed to get feature set: more than one device/emulator
可以执行 : adb kill-server