0

一切正常,突然间我开始得到这个异常。

09-20 12:54:08.070: E/AndroidRuntime(4127): java.lang.RuntimeException: Error initializing map: problem with disk cache
09-20 12:54:08.070: E/AndroidRuntime(4127):     at com.google.android.maps.MapActivity$1.onFactoryInitializationCompleted(MapActivity.java:152)
09-20 12:54:08.070: E/AndroidRuntime(4127):     at com.nokia.maps.MapFactory$2.run(MapFactory.java:455)
09-20 12:54:08.070: E/AndroidRuntime(4127):     at android.os.Handler.handleCallback(Handler.java:615)
09-20 12:54:08.070: E/AndroidRuntime(4127):     at android.os.Handler.dispatchMessage(Handler.java:92)
09-20 12:54:08.070: E/AndroidRuntime(4127):     at android.os.Looper.loop(Looper.java:137)
09-20 12:54:08.070: E/AndroidRuntime(4127):     at android.app.ActivityThread.main(ActivityThread.java:4807)
09-20 12:54:08.070: E/AndroidRuntime(4127):     at java.lang.reflect.Method.invokeNative(Native Method)
09-20 12:54:08.070: E/AndroidRuntime(4127):     at java.lang.reflect.Method.invoke(Method.java:511)
09-20 12:54:08.070: E/AndroidRuntime(4127):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:792)
09-20 12:54:08.070: E/AndroidRuntime(4127):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:559)
09-20 12:54:08.070: E/AndroidRuntime(4127):     at dalvik.system.NativeStart.main(Native Method)

然后我尝试加载 Here 应用程序,我也遇到了错误

就在这时出现了问题。稍后再试。

可悲的是,没有地方可以捕捉到这个异常并优雅地结束。

4

2 回答 2

0

if this is happening with emulator, then simply check that the emulator environment has SD card defined, and if it did have, you could of course try cleaning the emulator environment. It should work just fine, thus resetting it would definitely help.

If it is happening in a device, do try out with Maps application whether there is issues with maps data in it. That app might give better error description and maybe ways on solving the issue.

于 2014-09-22T08:10:16.917 回答
0

重新启动手机,它开始工作。似乎 HERE 地图时不时会损坏,所有相关的应用程序都会崩溃,没有希望以优雅退出的方式进行编码。我希望有一个地方可以记录 NokiaX 的错误,到目前为止似乎还没有。

于 2014-09-22T08:13:11.553 回答