我试过这个无济于事:adb shell dumpsys com.mypackage
I want to use the adb shell dumpsys alarm to debug some alarms I’m setting but it is producing a huge amount of data is there any way to limit the output to just a certain app?
不,但是像grep和fgrep这样的命令行实用程序可以向您显示引用某些字符串的输出片段,例如您的包名称.