Android备忘录
Created 2022-06-17 / Updated 2022-06-17安装adb:
# apt-get install android-tools-adb
关闭网络检测(android8以上):
# adb shell settings put global captive_portal_mode 0
停用APP:
# adb shell pm disable-user --user 0 <包名>
启用APP:
# adb shell pm enable <包名>
卸载APP:
# adb shell pm uninstall --user 0 <包名>
安装apk:
# adb install /path/xxx.apk
推送文件/文件夹到手机:
# adb push <LOCAL> <REMOTE>
拉取文件/文件夹到本地:
# adb pull <REMOTE> <LOCAL>
Categories: [Android]