I want to know is there any way to know the cause of error or make android device to show the error details instead of just displaying the message 'Unfortunately App has stopped working' ?
I want to know is there any way to know the cause of error or make android device to show the error details instead of just displaying the message 'Unfortunately App has stopped working' ?
You can check the logcat on your IDE. Or using adb command, like
adb logcat
. It can also filter the message, if yout just want to see the error log, you can useadb logcat *:E
. And another choice is to output the log file to sdcard, by usingadb logcat -f /sdcard/log.txt
.