GoogleMapsv2 to stop working in the production version

2

My app works with Google Maps perfectly in the debug version, but when I publish to the Play Store it stops working.

What is the process for generating the GoogleMapsV2 hash for the release version? How to test .apk, before uploading, to make sure GoogleMapsV2 will work?

    
asked by anonymous 06.03.2014 / 17:13

2 answers

4

Using the Eclipse IDE, you can generate the hash the moment you export your project to an APK by going to File > Export by selecting Export Android Application and on the screen following your project, you will have something like this:

Oncegenerated,atthelastscreenyouwillseeaCertificatefingerprints,whichareinMD5andSHA1.

WiththisSHA1,youcansimplyaccessyour Google Developers Console > in your project and add this fingerprint to the existing Key for Android applications credential that you use for debug mode. Remember that you do not need to create another credential, just add a new line with this SHA1 generated for production.

To test this APK , just install on your device that it already has the new production keystore , the same one you will use in Play .

    
06.03.2014 / 18:11
0

I also had the same problem, I discovered that the solution to this problem is to use a KEY publisher so when someone downloads the app they can use GMaps. To do this just look in google developers console that has a tutorial to put the service open.

    
08.03.2014 / 00:35