android错误调试
错误:
找到cause by
Caused by: java. lang NullPointerException: Attempt to invoke virtual method ’ android. text. Editable android. widget . EditText.getText() ’ on a null object reference
说明某个EditText对象没有定义
at com. example . shouxie. MainActivity. doclick (MainActivity. java:38)
这行双击,可以直接跳到38行的错误处