adb shell am start -a android.intent.action.CALL -d tel:10086 ——>拨打电话; adb shell am start -n com.android.browser/com.android.browser.BrowserActivity adb shell am start -n com.android.browser/.BrowserActivity ——>启动浏览器; adb shell am start -W com.android.browser/.BrowserActivit...
V( 500) Broadcast: Intent { act=android.intent.action.ANY_DATA_STATE_MOBILE flg=0x10 (has extras) } ordered=true userid=0 (ActivityManager) D( 500) wap: Intent from SIM 0, current SIM 0, current DataState DISCONNECTED (MobileDataStateTracker) D( 500) wap: wap setting isAvailable to ...
V( 500) Broadcast: Intent { act=android.intent.action.ANY_DATA_STATE_MOBILE flg=0x10 (has extras) } ordered=true userid=0 (ActivityManager) D( 500) wap: Intent from SIM 0, current SIM 0, current DataState DISCONNECTED (MobileDataStateTracker) D( 500) wap: wap setting isAvailable to ...
3. D( 500) MobileDataStateReceiver received: ACTION_ANY_DATA_CONNECTION_STATE_CHANGED_MOBILE [wap] (MobileDataStateTracker) 4. V( 500) Broadcast: Intent { act=android.intent.action.ANY_DATA_STATE_MOBILE flg=0x10 (has extras) } ordered=true userid=0 (ActivityManager) 5. D( 500) wap: ...
[plain] view plain copy octopus@octopus:~$ adb logcat -v time --- beginning of /dev/log/system 04-25 17:18:13.019 V/ActivityManager( 500): Broadcast sticky: Intent { act=android.intent.action.SIG_STR flg=0x10 (has extras) } ordered=false userid=-1 04-25 17:18:13.157 V/...
dumpsys package com.tencent.mobileqq | grep version adb shell bugreport当我们手机突然报错或者anr 直接终端输入adb shell bugreport就会打印出相对比较全的日志信息。adb shell dmesg手机查看内核信息可以使用此命令 获取应用的内存消耗:单个应用内存消耗命令:adb shell dumpsys meminfo com.tencent.mobileqq ...
adb shell dumpsys window windows | grep mCurrent 2.测试单个应用启动速度 命令:adb shell dumpsys window w |findstr \/ |findstr name= adb shell am start -W -n com.tencent.mobileqq/com.tencent.mobileqq.activity.LoginActivity 3.获取应用的内存消耗: ...
adb shell dumpsys window windows | grep mCurrent2.测试单个应用启动速度 命令:adb shell dumpsys window w |findstr \/ |findstr name=adb shell am start -W -n com.tencent.mobileqq/com.tencent.mobileqq.activity.LoginActivity3.获取应用的内存消耗: 单个应用内存消耗命令:adb shell dumpsys meminfo ...
要"多一个空格" 原神am start -a android.intent.action.VIEW -d "$(logcat -m 1 -e "OnGetWebViewPageFinish.+https.+\/log" | grep -oE "https.+\/log")" 星穹铁道am start -a android.intent.action.VIEW -d "$(logcat -m 1 -e "OnGetWebViewPageFinish.+https.+" | grep -oE "...
还是通过 grep 实现,思路是先根据包名找到 pid 号,然后匹配 pid。写成 shell脚本如下,参数是程序的java包名(如 com.android.media)。 查看源代码打印帮助 1 #!/bin/bash 2 packageName=$1 3 pid=`adb shell ps grep $packageName awk '{print $2}'` 4 adb logcat grep --color=auto $pid 4. 从...