安装apk:
adb install xxx.apk
查看log:
adb logcat adb logcat | grep INFO:CONSOLE
登入终端:
adb shell
查看内存占用:
dumpsys meminfo com.yunos.tv.edu.hall
杀死app:
am force-stop com.yunos.tv.edu.hall
查看活动容器版本:
adb shell dumpsys package com.yunos.tv.newactivity |grep version
更新活动容器:
删除 /data/data /system/app两个文件夹下与newactivity相关的文件目录然后重启再安装 adb install -r newActivity_production_test.apk
查看UUID:
adb shell getprop | grep uuid
ADB截图:
adb shell /system/bin/screencap -p /sdcard/screenshot.png
adb pull /sdcard/screenshot.png ~/location/