还是这样方便多了: http://stackoverflow.com/questions/5553146/disable-logcat-output-completely-in-release-android-app