0

enter image description here

Look at above image I must take null point exception but I got nothing! not just in this case seems my android studio not show errors .

I try so many ways like restart adb,android studio,emulator of phone, clear cache, online sync, reset logcat and every thing I find, but still not working.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
Erf
  • 343
  • 1
  • 3
  • 11

1 Answers1

1

change your device phone or emulator and see what happened .

if work it mean your logcat phone is off and you must turned on it . in another cases i don't know but for Huawei following instruction will be turn on your logcat on:

1.Open your Dialer app and enter the following code: *#*#2846579#*#*

2.Enter the Background Settings page.

3.Click on “Log Settings”

4.enable your logcat on.

5.Reboot the phone.
Erfan
  • 3,059
  • 3
  • 22
  • 49
  • yes that was true! i change my phone and in another phone its ok and show errors – Erf Nov 08 '17 at 09:36