无法显示使用代理服务器后面的WiFi谷歌地图代理服务器、后面、地图、WiFi

2023-09-04 05:52:10 作者:爱你没怂过

我创建了一个简单的应用程序,它显示了谷歌地图。我是一个的HTC Desire S上测试它,我只使用WiFi网络使用代理。但它没有显示任何东西,只地图瓦片显示在屏幕上。即使是默认的地图应用程序无法正常工作。它显示了错误消息

I have created a simple app which shows a Google Map. I am testing it on a HTC Desire S and I am using only WiFi network behind a proxy. But it is not showing anything, only map tile are shown in the screen. Even the default map application is not working. It shows the error message that

网络故障:错了远程串version.GMM服务器必须托管:/ string_remote_no-远程串

"Network Failure : wrong remote string version.GMM server must be hosting:/ string_remote_no-remote-strings."

我的地图API密钥是正确的,我已经添加了以下权限清单文件中:

My Map API key is correct and I have added the following permissions in the manifest file:

   <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.INTERNET"></uses-permission>

我该如何解决这个问题?

How do I solve this problem?

推荐答案

您确定

您延长 MapActivity ? 您的API密钥是正确的?

显然,如果您使用的是代理,并且已经设置了,在你的APN,那么你的AVD无法加载正在使用该地图的任何应用程序,无论是pre-安装了一个,也不是你的任何创造。

Apparently if you are using a proxy, and have set that in your APN, then your AVD cannot load any application that is using the map, neither the pre-installed one, nor any created by you.

检查的http:// code .google.com / P /安卓/问题/详细信息?ID = 3764#makechanges