7

I am developing for android for some time, and so far I didnt have any problem with logcat. Until now, i have new phone for development, Huawei Y300 (Y300-0100) and in logcat there is no messages from DEBUG level. This is problem, because I don't get Exceptions stack trace prints. I have to use emulator for that, you understand that it is annoying..

So far i figured out this:

from:

    Log.v("TEST VERBOSE", "verbose level");
    Log.d("TEST DEBUG", "debug level");
    Log.i("TEST INFO", "info level");
    Log.w("TEST WARN", "warn level");
    Log.e("TEST ERROR", "error level");
    Log.wtf("TEXT WTF", "?? level");

Only this was printed:

    INFO/TEST INFO(21224): info level
    WARN/TEST WARN(21224): warn level
    ERROR/TEST ERROR(21224): error level

On emulator, ofcourse all of them are printed.
And on previous phones there was no problem(Huawei G300 and ZTE Blade).

I have been searching for solution for sometime, and did not find any.

everis
  • 316
  • 4
  • 11
  • Is there a Developer Options on that phone? Any particular settings you have to enable besides the common on in stock Android build? – fasteque Sep 11 '13 at 14:30
  • @fasteque In developer options is nothing more then usual, and I tried some of them turn off/on. Nothing helped. – everis Sep 11 '13 at 17:08
  • if from command line (platform-tools dir for example), you try adb kill-server, adb devices (so you check you device is the only one connected) and then adb logcat? Of course launch your application :) – fasteque Sep 11 '13 at 20:06
  • I am facing the same problem on Samsung tab 2...how to enable this on samsung tab 2? – Abhinav Mar 21 '14 at 08:31

1 Answers1

7

Try to follow these instructions. I have the same phone and I was experiencing the same problems until I tryied that.

Community
  • 1
  • 1
Seitam
  • 388
  • 2
  • 12