I've been developing a Google Maps based application and for a few weeks I've been running with a Maps API key generated from the keystore used for signing code deployed over USB to my development phone. I've been able to see maps in the MapView, zoom, pan and add my own layers.
This evening I got myself a maps API key based on the certificate I use for publishing to the marketplace. I substituted the 'debug' key for the new maps API key I've obtained, and then I exported the application to an APK file, using my certificate. I've manually installed the APK file onto my development phone but now the maps refuse to display. In logcat I'm seeing the following exception: 11-02 20:33:28.949: W/System.err(3090): IOException processing: 26 11-02 20:33:28.959: W/System.err(3090): java.io.IOException: Server returned: 3 11-02 20:33:28.959: W/System.err(3090): at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseData(BaseTileRequest.java: 115) 11-02 20:33:28.959: W/System.err(3090): at android_maps_conflict_avoidance.com.google.googlenav.map.MapService $MapTileRequest.readResponseData(MapService.java:1473) 11-02 20:33:28.959: W/System.err(3090): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.processDataRequest(DataRequestDispatcher.java: 1117) 11-02 20:33:28.959: W/System.err(3090): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher.serviceRequests(DataRequestDispatcher.java: 994) 11-02 20:33:28.959: W/System.err(3090): at android_maps_conflict_avoidance.com.google.googlenav.datarequest.DataRequestDispatcher $DispatcherServer.run(DataRequestDispatcher.java:1702) 11-02 20:33:28.959: W/System.err(3090): at java.lang.Thread.run(Thread.java:1019) A quick bit of research suggests that either my certificate is expired or the API key I am using is plain wrong. However... - When exporting the application I am told that my certificate expires some time in 2061. - I've tried requesting the API key again to check that I have the right key - I do. - I've not made any mistakes pasting the API Key into my layout files. To complete the picture: - Development platform is OS X Lion, Eclipse 3.7.1 and SDK 15. - The target API level is 7 (2.1) - My phone (a Nexus One) is running Android 2.3.6. Any suggestions much appreciated... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en