Issue
I am testing my application on an Android Virtual Device (AVD) and have noticed my app crashes after a certain button is pressed. The diolouge is Unfortunately, myApplication has stopped.
without any option to report the crash. My question is how can I see the AVD's output to see what went wrong to fix the crash.
I also checked the Run Window during the crash, but all it said was Application Terminated.
without providing why it crashed. Looking at a log file could allow me to find the bug, I just need to know where to get it. Thanks.
AVD: 2.7" mdpi running Android 7.1
Solution
In order to look the crash report, see in the Logcat Window. When your app is crash, don't click OK. Open the Logcat you will see the error. If you don't see any report in window, use this comment
adb kill-server
adb start-server
Hope it helps.
Answered By - K.Sopheak
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.