1.logcat (四类log buffer是main,radio.system.events) adb wait-for-device logcat adb logcat -v time > logcat.txt //默认是-b main -b system adb logcat -v time -b main //main log adb logcat -v time -b radio //radio log adb logcat -v time -b
1) project.properties文件里,去掉下面一行的注释: # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 2) proguard-pro
public final class LogUtil { /** all Log print on-off */ private final static boolean all = true; /** info Log print on-off */ private final static boolean i = true; /** debug Log print on-off */ private final static boolean d = true; /** err Log pri