大佬教程收集整理的这篇文章主要介绍了android – Google Maps V2连接问题,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
只是在最近的更新中才开始发生这种情况.这可能意味着它之前没有发生或我介绍它.与网络唯一相关的是注册Android Manifest中检查网络的权限.
无论如何,我希望你能指出我的方向.这是崩溃报告.
java.lang.RuntimeException: Error receiving broadcast Intent { act=android.net.conn.CONNECTIVITY_CHANGE flg=0x10000000 (has extras) } in maps.z.bz@405d7d40 at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:722) 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:3691) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.IllegalArgumentexception: Receiver not registered: maps.z.bz@405d7d40 at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:610) at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:853) at android.content.Contextwrapper.unregisterReceiver(Contextwrapper.java:331) at maps.z.bz.onReceive(UnkNown sourcE) at android.app.LoadedApk$ReceiverDispatcher$Args.run(LoadedApk.java:709) ... 9 more
Google似乎打破了向后兼容性,因此如果人们升级他们的Google Play服务,那么随旧库发布的应用程序将被破坏.
此时你有两种可能性:
>发布新版本的应用并更新到新库
>恢复旧地图
我已经提出了一张票,Google已经承认了这一点:
http://code.google.com/p/gmaps-api-issues/issues/detail?id=5025&thanks=5025&ts=1362047877
请将其加注星标以获得Google的更高优先级.
以上是大佬教程为你收集整理的android – Google Maps V2连接问题全部内容,希望文章能够帮你解决android – Google Maps V2连接问题所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。