Android 在 Google 地图上强制关闭:java.lang.NoSuchFieldException:loading_tile_android

发布于 2024-11-06 22:17:59 字数 1654 浏览 4 评论 0原文

我的一位 Android 用户在我的应用程序中启动 Google 地图(MapActivity 类)时遇到强制关闭问题。他收到 MissingResourceException。到目前为止,他是唯一一个抱怨的人,而且他使用的是 Vanilla Tazz 手机。谷歌地图应用程序本身在他的设备上运行良好。看起来这是 Vanilla Tazz 特有的东西。我试图在网上找到修复方法,但没有成功。这是 Android 错误日志:

java.lang.ExceptionInInitializerError
 at ...
 at android.view.View.performClick(View.java:2449)
 at android.view.View$PerformClick.run(View.java:9027)
 at android.os.Handler.handleCallback(Handler.java:587)
 at android.os.Handler.dispatchMessage(Handler.java:92)
 at android.os.Looper.loop(Looper.java:123)
 at android.app.ActivityThread.main(ActivityThread.java:4627)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at java.lang.reflect.Method.invoke(Method.java:521)
 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
 at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ExceptionInInitializerError
 at com.google.android.maps.MapActivity.<clinit>(MapActivity.java:295)
 ... 14 more
Caused by: java.util.MissingResourceException: Could not find required resource  
  com.android.internal.R$drawable.loading_tile_android    (java.lang.NoSuchFieldException:   loading_tile_android)
 at com.google.android.maps.InternalR.getField(InternalR.java:65)
 at com.google.android.maps.InternalR.get(InternalR.java:39)
 at com.google.android.maps.InternalR.access$000(InternalR.java:28)
 at com.google.android.maps.InternalR$drawable.get(InternalR.java:112)
 at com.google.android.maps.InternalR$drawable.<clinit>(InternalR.java:119)
 ... 15 more

如果有人能提出任何建议来解决此问题,我将不胜感激。

One of my Android users is getting a force-close when launching Google Map (MapActivity class) inside my application. He gets a MissingResourceException. He's the only one complaining so far, and he is using Vanilla Tazz phone. The Google maps application itself works well on his device. It looks like it's something specific to Vanilla Tazz. I tried to find a fix online but have not been successful. Here's the Android error log:

java.lang.ExceptionInInitializerError
 at ...
 at android.view.View.performClick(View.java:2449)
 at android.view.View$PerformClick.run(View.java:9027)
 at android.os.Handler.handleCallback(Handler.java:587)
 at android.os.Handler.dispatchMessage(Handler.java:92)
 at android.os.Looper.loop(Looper.java:123)
 at android.app.ActivityThread.main(ActivityThread.java:4627)
 at java.lang.reflect.Method.invokeNative(Native Method)
 at java.lang.reflect.Method.invoke(Method.java:521)
 at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
 at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
 at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.ExceptionInInitializerError
 at com.google.android.maps.MapActivity.<clinit>(MapActivity.java:295)
 ... 14 more
Caused by: java.util.MissingResourceException: Could not find required resource  
  com.android.internal.R$drawable.loading_tile_android    (java.lang.NoSuchFieldException:   loading_tile_android)
 at com.google.android.maps.InternalR.getField(InternalR.java:65)
 at com.google.android.maps.InternalR.get(InternalR.java:39)
 at com.google.android.maps.InternalR.access$000(InternalR.java:28)
 at com.google.android.maps.InternalR$drawable.get(InternalR.java:112)
 at com.google.android.maps.InternalR$drawable.<clinit>(InternalR.java:119)
 ... 15 more

I would appreciate if anyone can suggest anything to fix this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

吲‖鸣 2024-11-13 22:17:59

不确定您是否会找到解决方案:听起来 ROM 是在没有将该资源作为操作系统映像一部分的情况下构建的。他们可能需要一个新的 ROM 来解决这个问题。

Not sure you'll find a fix for this: it sounds like the ROM was built without that resource as part of the OS image. They'll probably need a new ROM to get around that.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文