[英]Getting this login issue in app only when i download from playstore
When test the functionality by generating apk all the features are working fine, but when i download from playstore its getting the below issue in login通过生成 apk 测试功能时,所有功能都运行良好,但是当我从 playstore 下载时,登录时出现以下问题
java.lang.NullPointerException: throw with null exception
at c.c.a.d.g.a(Unknown Source:3)
at com.my.packagename.Activity.Login_Activity.a(Unknown Source:155)
at l.g$b$a$a.run(Unknown Source:37)
at android.os.Handler.handleCallback(Handler.java:790)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:7000)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:441)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1408)
For testing, Are you generating a debug build or release build?对于测试,您是在生成调试版本还是发布版本? Since you can only upload release build on the playstore, make sure you are testing with a release build in case the problem lies in the release build only.
由于您只能在 Playstore 上上传发布版本,因此请确保您正在使用发布版本进行测试,以防问题仅出在发布版本中。
Also to debug your release build you can add debuggable = true
in your manifest to check logs.此外,要调试您的发布版本,您可以在清单中添加
debuggable = true
以检查日志。 NOTE: do not upload to play store with debuggable
set to true注意:不要上传到
debuggable
设置为 true 的游戏商店
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.