Android Google MapView shows only empty fragments

I tie to the creation of a simple application that displays a map.

I got the debug.keystore API key and the triple checked it for correctness.
I also exported the project as apk and used a custom keystore with the corresponding API key.

I have the following permissions:

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

But on my devices and in the emulator so far only empty tiles are displayed.

EDIT:
Log Cat:

 03-19 10:29:09.554: W/System.err(1396): IOException processing: 26 03-19 10:29:09.554: W/System.err(1396): java.io.IOException: Server returned: 3 03-19 10:29:09.570: W/System.err(1396): at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115) 03-19 10:29:09.570: W/System.err(1396): at android_maps_conflict_avoidance.com.google.googlenav.map.MapService$MapTileRequest.readResponseData(MapService.java:1473) 03-19 10:29:09.578: W/System.err(1396): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java:1117) 03-19 10:29:09.585: W/System.err(1396): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java:994) 03-19 10:29:09.593: W/System.err(1396): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher$DispatcherServer.run(DataRequestDispatcher.java:1702) 03-19 10:29:09.601: W/System.err(1396): at java.lang.Thread.run(Thread.java:1019) 

These exceptions are repeated quickly.

There are no proxy or internet issues. The map application works.

maybe someone can help.

Congratulated
Henric

+7
source share
4 answers

The only reason for empty slabs is a problem with key or proxy or Internet issues.

Check if the normal card application is working properly in your simulator. If so, then the problem is with your key. or the problem is with the proxy server or the Internet.

Remember to create a simulator using the Google APIs

For more information, follow the link below.

http://developer.android.com/resources/tutorials/views/hello-mapview.html

+4
source

I am facing this problem and Pavandroid is absolutely right. The card key is the problem in your case. You link to this link, it has a step-by-step explanation of Map Key and Mapview.

http://www.codeproject.com/Articles/112044/GPSLocator-App-to-Find-Current-Nearest-Location-us

Hope this helps you.

+2
source

Add this permission to the manifest file

 <uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES"/> 
0
source
0
source

All Articles