Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
04/13/12 11:24 AM (13 years ago)

Maps Display in Debug but not Release

I am trying to publish an app to Google Play called Minneapolis Lakes. For some reason, the Google maps will not load when I upload and publish the app to GooglePlay. The map flags appear, but not the map, as if the googleMap map key were not there. The maps work perfectly in debug. I have a separate map keys for release and for debug, which I entered into res-values-strings into googleMapsAPIDebug and googleMapsAPIKeyRelease. I double checked my Google map release key by repeating the key request process, and Google gave me the exact same release key. Any ideas on what I could check? It must be something fairly simple that I am missing.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
04/13/12 11:33 AM (13 years ago)
Hi Susan, I recently hit this as well, and added the solution to this document: http://www.buzztouch.com/resources/Common_Android_Errors_and_Solutions_v1.0.pdf It's an easy fix! Mark
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
04/13/12 12:47 PM (13 years ago)
Remove the debug key. Fred
 
Susan Metoxen
buzztouch Evangelist
Profile
Posts: 1706
Reg: May 01, 2011
Hopkins, Minnes...
26,260
like
04/13/12 07:32 PM (13 years ago)
It is published! Thank you so much! Here are the relevant instructions from @GoNorthWest's manual: In the \res\layout\ screen_map.xml file file, you need to make the following change: android:apiKey="@string/googleMapsAPIKeyDebug" TO android:apiKey="@string/googleMapsAPIKeyRelease" (Notice Debug changed to Release) Really, there are several steps that are necessary to publish an Android app with maps, so I can't recommend the Common Android Errors and Solutions by @GoNorthWest enough. Thank you for your help. The Buzztouch community is so supportive I will always be grateful.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.