卸载:python deploy.py unload
安装:python deploy.py debug new
抓log日志
保存在电脑
adb logcat -v time > kkk.log(保存的路径)
2:
adb shell
$ logcat -v time > sdcard/111.log(保存在手机sd卡里面)
提取
adb pull sdcard/lll.log(后面的为log日志名称)
卸载当前程序
python deploy.py unload
安装程序
python deploy.py debug new
杀掉进程
1: adb shell
2: $su
3: # ps |grep
4: #kill 1810(包名那一项)
重启设备
adb reboot
截屏:
adb shell screencap -p /sdcard/hello.png
杀掉进程
adb shell am force-stop com.
安装apk
adb install -r .\apk(名字)TAB键
日志展示在当前窗口
adb logcat -v time |grep ()包名)
卸载当前程序
adb uninstall (包名)
安装apk
adb install -r +(apk名称)
返回上一级
cd..
打开目录下的所有文件
dir
录制屏幕
adb shell screenrecord /sdcard/demo.mp4
取出 adb pull /sdcard/demo.mp4
屏幕截图
adb shell screencap /sdcrad/1.png
取出 adb pull /sdcrad/1.png
杀monkey进程
C:\Python34\Scripts>adb shell
shell@j6headunit:/ $ ps | grep monkey
shell 3233 185 1059288 60052 futex_wait b6d295e8 S com.android.commands.monkey
shell@j6headunit:/ $ kill 3233
版本号低的话
adb install -d -r (apk名称)
sd卡创建文件
adb shell
cd sdcard
ls
touch asr.toast
抓音频
adb shell "am broadcast -a start_asr_save_pcm_all --ei time 60"
停止抓音频
adb shell "am broadcast -a stop_asr_save_pcm"
取出文件夹adb pull /sdcard/sse/
删除文件夹
adb shell "rm -rf /sdcard/sse"
打印文件夹的信息
adb shell "ls -l /sdcard/sse
播放pcm格式
cooledit
Audacity
取出sd卡里面的log日志
adb pull /sdcard/Android/data/
清除
adb shell pm clear
找不到应用图标
adb shell am start -n 包名/activity
查看当前activity的命令
(包名)
模拟home键
adb shell input keyevent 3
root手机
adb root
恢复出厂设置
adb reboot recovery
清除数据
adb reboot wipedata
安装:python deploy.py debug new
抓log日志
保存在电脑
adb logcat -v time > kkk.log(保存的路径)
2:
adb shell
$ logcat -v time > sdcard/111.log(保存在手机sd卡里面)
提取
adb pull sdcard/lll.log(后面的为log日志名称)
卸载当前程序
python deploy.py unload
安装程序
python deploy.py debug new
杀掉进程
1: adb shell
2: $su
3: # ps |grep
4: #kill 1810(包名那一项)
重启设备
adb reboot
截屏:
adb shell screencap -p /sdcard/hello.png
杀掉进程
adb shell am force-stop com.
安装apk
adb install -r .\apk(名字)TAB键
日志展示在当前窗口
adb logcat -v time |grep ()包名)
卸载当前程序
adb uninstall (包名)
安装apk
adb install -r +(apk名称)
返回上一级
cd..
打开目录下的所有文件
dir
录制屏幕
adb shell screenrecord /sdcard/demo.mp4
取出 adb pull /sdcard/demo.mp4
屏幕截图
adb shell screencap /sdcrad/1.png
取出 adb pull /sdcrad/1.png
杀monkey进程
C:\Python34\Scripts>adb shell
shell@j6headunit:/ $ ps | grep monkey
shell 3233 185 1059288 60052 futex_wait b6d295e8 S com.android.commands.monkey
shell@j6headunit:/ $ kill 3233
版本号低的话
adb install -d -r (apk名称)
sd卡创建文件
adb shell
cd sdcard
ls
touch asr.toast
抓音频
adb shell "am broadcast -a start_asr_save_pcm_all --ei time 60"
停止抓音频
adb shell "am broadcast -a stop_asr_save_pcm"
取出文件夹adb pull /sdcard/sse/
删除文件夹
adb shell "rm -rf /sdcard/sse"
打印文件夹的信息
adb shell "ls -l /sdcard/sse
播放pcm格式
cooledit
Audacity
取出sd卡里面的log日志
adb pull /sdcard/Android/data/
清除
adb shell pm clear
找不到应用图标
adb shell am start -n 包名/activity
查看当前activity的命令
(包名)
模拟home键
adb shell input keyevent 3
root手机
adb root
恢复出厂设置
adb reboot recovery
清除数据
adb reboot wipedata