Android studio登陆主界面闪退,报错空指针异常
问题:
解决方法:1.将源代码的if (res.users.get(i).phone.equals(PHONE))
换为if (PHONE.equals(res.users.get(i).phone))
2.重启电脑
问题:
解决方法:1.将源代码的if (res.users.get(i).phone.equals(PHONE))
换为if (PHONE.equals(res.users.get(i).phone))
2.重启电脑