Android开发之log

清空log

@echo 当前时间是:%time% 即 %time:~0,2%点%time:~3,2%分%time:~6,2%秒%time:~9,2%厘秒@
@echo waiting adb ready ...
adb wait-for-device

adb shell rm -rf /data/log/*
adb shell rm -rf /data/android_logs/*
adb shell rm -rf /sdcard/log/*

你可能感兴趣的:(java)