Error generating apk with google play services

0

I have an application that uses google maps, which works perfectly in debug mode. But when I generate the signed apk, and install it on the device the maps do not work. What can it be?

    
asked by anonymous 08.08.2016 / 02:32

2 answers

0

Thank you Lucas. But I managed to solve it. When I created a GoogleMapsActivity it shows me a file google_maps_api.xml to include my access key. But this file is only for debugging. I changed the perspective to project and accessed /app/src/realese/google_maps_api.xml where the key field was empty. Then it was only to include the access key that worked!

    
08.08.2016 / 03:19
0

Speaking of my knowledge of signatures and things using Unity5, when you generate a certificate for the application and sign it but do not make it available through Google Play, android recognizes that this application is "pirated" and automatically blocks some services.

To resolve this issue, I'll need to create my developer account on Google Play and make the app available in beta in order not to make it publicly available.

I do not know if this is it, but for me it was so I managed to solve this kind of problem when I was using Google Play Game Services inside my game! : D

    
08.08.2016 / 02:37