Unable to show Google Maps using WiFi behind a pro

2019-09-16 14:20发布

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

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

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?

1条回答
家丑人穷心不美
2楼-- · 2019-09-16 14:54

Are you sure

  1. you extended MapActivity?
  2. your API Key is correct?

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.

Check http://code.google.com/p/android/issues/detail?id=3764#makechanges

查看更多
登录 后发表回答