Discussion Forums  >  Maps, Device Location, Tracking

Replies: 10    Views: 97

Electronincantation
Android Fan
Profile
Posts: 35
Reg: Dec 26, 2011
Accrington
350
04/04/12 12:18 PM (13 years ago)

No map showing in 1.4 on a release key works with debug key

Hi. Are there any known issues with google maps not showing in 1.4 with a release API key,the markers show and the app worked OK with a debug key but has grey tiles with a release API key generated from a new keystore MD5 code. Regards,Geoff.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
04/04/12 12:22 PM (13 years ago)
Try removing the debug API KEY. Fred
 
Electronincantatio...
Android Fan
Profile
Posts: 35
Reg: Dec 26, 2011
Accrington
350
like
04/04/12 01:08 PM (13 years ago)
I have done the following: Deleted the debug key string. set screenlocationmap.xml to use the release key Incremented the version name and code. Still no go.
 
Fred@mySkylla com
Android Fan
Profile
Posts: 5259
Reg: Oct 03, 2011
location unknow...
62,560
like
04/04/12 01:16 PM (13 years ago)
Did you set Debug to false in the manifest? Fred
 
Electronincantatio...
Android Fan
Profile
Posts: 35
Reg: Dec 26, 2011
Accrington
350
like
04/04/12 01:27 PM (13 years ago)
I have done the following: Deleted the debug key string. set screenlocationmap.xml to use the release key Incremented the version name and code. Still no go.
 
Electronincantatio...
Android Fan
Profile
Posts: 35
Reg: Dec 26, 2011
Accrington
350
like
04/04/12 01:27 PM (13 years ago)
yes debug is set to false Geoff.
 
Electronincantatio...
Android Fan
Profile
Posts: 35
Reg: Dec 26, 2011
Accrington
350
like
04/04/12 01:40 PM (13 years ago)
yes debug is set to false Geoff.
 
Electronincantatio...
Android Fan
Profile
Posts: 35
Reg: Dec 26, 2011
Accrington
350
like
04/04/12 01:45 PM (13 years ago)
OK, now fixed. I put the API key directly in the mapview re-exported the project, uploaded to Google Play and re-installed the app on the phone from there. Now works OK.
 
Electronincantatio...
Android Fan
Profile
Posts: 35
Reg: Dec 26, 2011
Accrington
350
like
04/04/12 01:52 PM (13 years ago)
OK, now fixed. I put the API key directly in the mapview re-exported the project, uploaded to Google Play and re-installed the app on the phone from there. Now works OK.
 
GoNorthWest
buzztouch Evangelist
Profile
Posts: 8197
Reg: Jun 24, 2011
Oro Valley, AZ
1,000,000
like
04/04/12 07:26 PM (13 years ago)
I also think the debug key has to be generated from the debug.keystore, and the release key has to be generated from the release.keystore. Mark
 
Electronincantatio...
Android Fan
Profile
Posts: 35
Reg: Dec 26, 2011
Accrington
350
like
04/05/12 04:17 AM (13 years ago)
Hi yes, I set up a new release key store during the export process, you can then use the same store on any other apps you export for release.Just remember where you saved it so you can get the MD5 key that you need to get the Maps API key, so you can export it again with the maps release API key in the MapView! sorry if this sounds like gibberish! Regards,Geoff.
 

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.