when I debug my android app using emulator, the stacktraces and error messages are shown in Eclipse’s Logcat.
However, when I debug on my physical android device, when app crashes there is no stacktrace shown in eclipse. Is there anything i need to configurate in order to get stacktrace when debugging on physical device??
when I debug my android app using emulator, the stacktraces and error messages are
Share
There could be many reasons for this:
1) Did you install USB driver for your phone?
2) Did you enable USB debugging?
3) Check if your device is detected. In command line run:
It should be listed there and it shouldn’t be offline.
adbdoesn’t detect the phone sometimes. You can try to restart it with:4) Sometimes, simply unplugging/re-plugging the USB cable works.
5) In some situations the phone is the problem, restarting it helps.