1.把日志打印出来
1 | adb logcat -d > logcat.txt |
2.把手/sdcard/Screenshots/下面的照片全部复制到 screenshots目录下
1 | adb pull /sdcard/Screenshots/ screenshots\. |
3.把文件复制到 手机sd卡根目录上 (开机动画)
1 | adb push bootanimation.zip /mnt/sdcard/ |
4.把文件复制到 手机sd卡根目录上 (关机动画)
1 | adb push shutanimation.zip /mnt/sdcard/ |
5.关掉adb
1 | adb kill-server |
6.重启adb
1 | adb start-server |
7.查看识别的设备
1 | adb devices |
1 |