2019-09-09 16:34:51.442 352-400/? D/AudioHardwareTiny: start_output_stream
2019-09-09 16:34:51.444 352-400/? D/alsa_route: route_info->sound_card 0, route_info->devices 0
2019-09-09 16:34:51.444 352-400/? D/AudioHardwareTiny: The current HDMI is DVI mode
2019-09-09 16:34:51.522 8407-8507/com.gyroor.selfbalance D/===AVOS Cloud===: q0$a->a->2: {"sessionToken":"44kw8tc3oldaurz8zypterw0f","updatedAt":"2019-07-26T09:03:02.557Z","age":"26","objectId":"5cebd41e43e78c00671b3e11","username":"18676690079","createdAt":"2019-05-27T12:12:14.245Z","Sex":"female","Nick":"\u738b\u7f8e\u4e3d","emailVerified":false,"mobilePhoneNumber":"18676690079","mobilePhoneVerified":true}
2019-09-09 16:34:51.527 8407-8507/com.gyroor.selfbalance W/===AVOS Cloud===: i->4: Internal key name:updatedAt,please use setter/getter for it.
2019-09-09 16:34:51.530 8407-8507/com.gyroor.selfbalance W/===AVOS Cloud===: i->4: Internal key name:objectId,please use setter/getter for it.
2019-09-09 16:34:51.532 8407-8507/com.gyroor.selfbalance W/===AVOS Cloud===: i->4: Internal key name:createdAt,please use setter/getter for it.
2019-09-09 16:34:51.539 8407-8407/com.gyroor.selfbalance W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.Throwable.getMessage()' on a null object reference
2019-09-09 16:34:51.539 8407-8407/com.gyroor.selfbalance W/System.err: at com.classywalk.selfbalance.main.p.b.b$a.a(SourceFile:14)
2019-09-09 16:34:51.539 8407-8407/com.gyroor.selfbalance W/System.err: at com.avos.avoscloud.p0.b(SourceFile:2)
2019-09-09 16:34:51.539 8407-8407/com.gyroor.selfbalance W/System.err: at com.avos.avoscloud.p0.b(SourceFile:1)
2019-09-09 16:34:51.540 8407-8407/com.gyroor.selfbalance W/System.err: at com.avos.avoscloud.c$a.run(SourceFile:1)
2019-09-09 16:34:51.540 8407-8407/com.gyroor.selfbalance W/System.err: at android.os.Handler.handleCallback(Handler.java:755)
2019-09-09 16:34:51.540 8407-8407/com.gyroor.selfbalance W/System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
2019-09-09 16:34:51.540 8407-8407/com.gyroor.selfbalance W/System.err: at android.os.Looper.loop(Looper.java:154)
2019-09-09 16:34:51.540 8407-8407/com.gyroor.selfbalance W/System.err: at android.app.ActivityThread.main(ActivityThread.java:6141)
2019-09-09 16:34:51.541 8407-8407/com.gyroor.selfbalance W/System.err: at java.lang.reflect.Method.invoke(Native Method)
2019-09-09 16:34:51.541 8407-8407/com.gyroor.selfbalance W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
2019-09-09 16:34:51.541 8407-8407/com.gyroor.selfbalance W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802)
2019-09-09 16:34:51.591 8407-8412/com.gyroor.selfbalance I/art: Do partial code cache collection, code=21KB, data=30KB
2019-09-09 16:34:51.591 8407-8412/com.gyroor.selfbalance I/art: After code cache collection, code=18KB, data=28KB
2019-09-09 16:34:51.591 8407-8412/com.gyroor.selfbalance I/art: Increasing code cache capacity to 128KB
2019-09-09 16:34:54.646 352-400/? D/alsa_route: route_set_controls() set route 24
2019-09-09 16:34:54.646 352-400/? D/AudioHardwareTiny: close device

以上信息为本地错误信息,信息很明显,有一个空指针,但是指向avoscloud,不知道是什么数据报错,返回的数据是登陆成功后的个人信息。证明已经登陆成功,但是出现了错误。

请帮忙分析是哪里出错了

在studio中直接运行到手机上的安装包没有错误,能正常使用;但是打的正式签名包就会报错,导致用不了。

找到了此异常的问题:是AVException e为空导致。
但是用户第一次登陆的时候done(AVUser avUser, AVException e)中的AVUser 和 AVException 都是null。怎么判断登陆成功呢?

网络是正常的。
升级到5.0.26之后,一直报错:
Unacceptable certificate: CN=TrustOcean SSL CA - RSA - 2018, OU=RSA Domain Validation Secure Server - 2018, O=TrustOcean Ltd., L=Denver, ST=CO, C=US

而且升级后,登陆返回的状态值也没有了,密码错误与未注册用户登陆不能区分

网络正常,但是一直报网络错误,是由于本地手机的时间不是北京时间,设置到标准的北京时间就正常了。