加载凭据时更新到SDK 4.1.0后,MapBox Android应用程序崩溃 [英] MapBox Android application crashes after update to SDK 4.1.0 when loading credentials

查看:135
本文介绍了加载凭据时更新到SDK 4.1.0后,MapBox Android应用程序崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在更新到Android DropBox SDK 4.1.0之后,我的应用程序大多数时候崩溃的原因是:

After the update to Android DropBox SDK 4.1.0 my application most of the time crashes with:

MapboxEventManager:尝试加载登台凭证时出错: java.lang.NullPointerException:尝试调用虚拟方法 'java.lang.String android.os.Bundle.getString(java.lang.String)'在 空对象引用

MapboxEventManager: Error Trying to load Staging Credentials: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.Bundle.getString(java.lang.String)' on a null object reference

并且没有堆栈跟踪.

MapBox示例由于相同的错误而崩溃(都在本地编译并从Google Play下载).

MapBox example on https://github.com/mapbox/mapbox-android-demo crashes with the same error (both compiled locally and downloaded from Google Play).

这是已知问题吗?有什么办法可以避免这个错误?

Is this known problem? Is there any way to avoid this error?

推荐答案

这是一个已知问题,现在您可以尝试版本进行操作这里.

This is a known issue, for now you can try clearing the apps cache. Switching the map style url to a different one will potentially fix the issue as well. A bug fix will be out later today for iOS and Android, you can follow the Android release here.

4.1.1现在已发布,您可以在成绩文件中进行升级.可以在此处找到.

4.1.1 has now been released, you can upgrade in your Grade file. More information can be found here.

这篇关于加载凭据时更新到SDK 4.1.0后,MapBox Android应用程序崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆