adb操作集锦

adb reboot   adb重启设备

adb connect 127.0.0.1:5555       通过adb连接到ip地址为127.0.0.1对应的设备上

adb root   adb获得root权限

adb remount  重新加载文件系统,获得可写权限

adb devices  查看已连接的设备
adb install -r C:\Desktop\test.apk 安装替换testapk文件

adb uninstall com.pro.test   卸载包名为com.pro.test的app

adb kill-server   杀死服务器
adb start-server   启动服务器

adb shell pm list packages   查看设备上的所有应用包名

adb logcat -s Unity -d > c:\test.txt   保存unity相关日志到test.txt文档中

adb logcat  :打印Android所有Log 
adb logcat -s Unity :过滤Unity的Logs

 

你可能感兴趣的:(软件使用)