Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/233.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android adb setprop:无效字符';[';(括号)in name';log.tag.BeaconManager[10.0.41.0]';_Android_Logging_Command_Adb_Logcat - Fatal编程技术网

Android adb setprop:无效字符';[';(括号)in name';log.tag.BeaconManager[10.0.41.0]';

Android adb setprop:无效字符';[';(括号)in name';log.tag.BeaconManager[10.0.41.0]';,android,logging,command,adb,logcat,Android,Logging,Command,Adb,Logcat,我尝试在收听logcat时禁用以下日志: 2020-11-06 12:21:56.368 12659-12659 I/BeaconManager[10.0.41.0]: BeaconManager.onReceive - receive Action : android.intent.action.SCREEN_OFF 但是,如果我运行命令adb shell setprop log.tag.BeaconManager[10.0.41.0]S来禁用每个带有标记的日志BeaconManager[1

我尝试在收听logcat时禁用以下日志:

2020-11-06 12:21:56.368 12659-12659 I/BeaconManager[10.0.41.0]: BeaconManager.onReceive - receive Action : android.intent.action.SCREEN_OFF
但是,如果我运行命令
adb shell setprop log.tag.BeaconManager[10.0.41.0]S
来禁用每个带有标记的日志
BeaconManager[10.0.41.0]
,它会给我以下错误:

setprop: invalid character '[' in name 'log.tag.BeaconManager[10.0.41.0]'
我不想只拥有我的应用程序的日志,我只想从logcat中删除这个日志标记,所以不建议使用一些标准过滤器

您知道如何排除带有特殊字符的标记吗

adb日志级命令信息: