小智 5
在您的 Android Shell 脚本中,使用以下内容:
log -p v -t "test" "test script message"
Run Code Online (Sandbox Code Playgroud)
然后,您将在 Androids Logcat 中看到您的消息:
adb logcat | 测试
用法:
log [-p priorityChar] [-t tag] message
priorityChar should be one of:
v,d,i,w,e
Run Code Online (Sandbox Code Playgroud)
这对我有用 Droid 4.4.3
| 归档时间: |
|
| 查看次数: |
3641 次 |
| 最近记录: |