Log.v(“TEST”,msg); ->通过命令输出到TXT中:adb logcat -s TEST >C:\log.TXT Log.v(“TEST”,"TEST"+msg); ->通过DDMS 搜索 TEST查找