adb shell pm enable <PACKAGE_OR_COMPONENT> 设置应用为可用,或者组件不可用 组件跟类的完整路径(如:pm enable “package/class”) adb shell pm disable <PACKAGE_OR_COMPONENT> 设置应用为不可用,在手机上就隐藏了(如:pm disable “package/class”) 1).冻结应用 找到应用的 MainActivity(即MAIN,LAUNCHER):...
adb [-d|-e|-s <serial-number>] <command> 单一设备/模拟器连接 若仅一个设备/模拟器连接时,可以省略掉 [-d|-e|-s <serial-number>] 这一部分,直接使用 adb <command>。 多个设备/模拟器连接 若有多个设备/模拟器连接,则需要为命令指定目标设备,下表是指定目标设备的...
So I see some on you wondering about how to uninstall, reinstall, install, pull, enable and disable apps for the watch, so I decided to make this thread to address these different scenarios, this is based on test of users, if there is any incorrect command, let me k...
官方文档Listing of logcat Command Options 他人整合http://jiongbull.com/2016/03/17/adb%E5%91%BD%E4%BB%A4/ 应用相关 查看应用列表 adb shell pm list package # has root adb shell ls /data/data/ 1. 2. 3. adb启动/停止 应用程序 adb shell am start -n [packageName/StartActivity] adb she...
adb shell<command命令> ps: adb shell 后面加的是linux系统操作指令,也即直接运行设备命令, 相当于执行远程命令 -查看手机产线版本 adb shellcat/sys/devices/mx_tsp/appid -查看手机运营商版本 adb shellcat/proc/lk_info/sw_version -查看手机是否加密 ...
adb shell svc wifidisable *查看wifi密码 adb shell cat/data/misc/wifi/*.conf *获取序列号 adb get-serialno *查看设备cpu和内存占用情况 adb shell top *查看占用内存前6的app adb shell top -m 6 *刷新一次内存信息,然后返回 adb shell top -n 1 ...
adb uninstall -k cn.com.test.mobile#卸载app 但保留数据和缓存文件 -k: 卸载 APP 但保留数据和缓存文件 五、adb shell 5-1.adb shell command 用途: start [options] <INTENT> 启动 <INTENT> 指定的 Activity startservice [options] <INTENT> 启动 <INTENT> 指定的 Service ...
主要是使用 am <command> 命令,常用的 <command> 如下: command 用途 start [options]<INTENT>启动<INTENT>指定的 Activity startservice [options]<INTENT>启动<INTENT>指定的 Service broadcast [options]<INTENT>发送<INTENT>指定的广播 force-stop<packagename>停止<packagename>相关的进程 ...
adb shell<command命令> ps: adb shell 后面加的是linux系统操作指令,也即直接运行设备命令, 相当于执行远程命令 -查看手机产线版本 adb shellcat/sys/devices/mx_tsp/appid -查看手机运营商版本 adb shellcat/proc/lk_info/sw_version -查看手机是否加密 ...
主要是使用am <command>命令,常用的<command>如下: <INTENT>参数很灵活,和写 Android 程序时代码里的 Intent 相对应。 用于决定 intent 对象的选项如下: <INTENT>里还能带数据,就像写代码时的 Bundle 一样: 调起Activity 命令格式: 例如: 表示调起微信主界面。