Reputation: 353
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.
Upvotes: 0
Views: 1126
Reputation: 3343
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.
Upvotes: 1