Thursday, October 17, 2013

Fix Android cannot show Logcat, "Invalid Argument"

Fix problem: Android cannot show Logcat, "Invalid Argument"
  • Unplug and plug your device
  • Switch ON/OFF the developer option – USB debugging
  • Clicking at the device on DDMS-Device tab
  • Use command "adb logcat -c" followed by unplug/plug device.
  • On DDMS-Device tab, click the down triangle, choose “Reset adb”
  • Huawei device: *#*#2846579#*#*  Go ProjectMenu / Background Setting / Log setting
  • Use app to show logcat, such as CatLog (play.google.com/store/apps/details?id=com.nolanlawson.logcat
  • Run “echo 1 > /sys/kernel/logger/log_main/enable” in “adb shell”
Reference :
[1] http://stackoverflow.com/questions/2250112/why-doesnt-logcat-show-anything-in-my-android/2945333#2945333
[2] http://stackoverflow.com/questions/3823934/android-the-ddms-shows-the-message-logcat-read-invalid-argument

No comments:

Post a Comment