simon-heinen / droidar

DroidAR Mobile Locationbased Augmented Reality Framework for Android
GNU General Public License v3.0
225 stars 275 forks source link

GoogleMapsSupport #20

Open isaacmuroxtec opened 10 years ago

isaacmuroxtec commented 10 years ago

Hello, I'm trying to use the GoogleMapsSupport, but it doesn't show the map. I imported the GoogleMapsSupport into eclipse, and changed the file GoogleMapsKey.java with my key. Also changed to Google APIs 17. I didn't change anything else. When I ran the application, I got the following error:

03-27 18:57:13.412: W/System.err(10316): IOException processing: 26 03-27 18:57:13.412: W/System.err(10316): java.io.IOException: Server returned: 3 03-27 18:57:13.412: W/System.err(10316): at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java:115) 03-27 18:57:13.412: W/System.err(10316): at android_maps_conflict_avoidance.com.google.googlenav.map.MapService$MapTileRequest.readResponseData(MapService.java:1473) 03-27 18:57:13.412: W/System.err(10316): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java:1117) 03-27 18:57:13.412: W/System.err(10316): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java:994) 03-27 18:57:13.412: W/System.err(10316): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher$DispatcherServer.run(DataRequestDispatcher.java:1702) 03-27 18:57:13.412: W/System.err(10316): at java.lang.Thread.run(Thread.java:856)

I searched in internet, but the solutions I found say that the problem is with the key. I ran the applicacion with USB. My SHA1 fingerprint works fine with other google maps projects.

What can I do? Thank you a lot, Isaac

Grim- commented 10 years ago

I had the same problem with a different application, make sure when supplying the SHA1 Fingerprint you follow it with ";full package name"

So for example when I did "mySHA1;com.grim" I got the same error as you when I regenerated my key with "mySHA1;com.grim.fragments" And waited two minutes for the key to update, it worked fine.

Worth a try maybe?