Error generating apk with google play services

Asked

Viewed 212 times

0

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

2 answers

0

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

To solve this problem I have to create my developer account in Google Play and make available the application there in beta phase not to make publicly available.

I don’t know if that’s it, but for me that’s how I was able to solve this kind of problem when I was using Google Play Game Services within my game! : D

  • I even posted on google play. But it doesn’t work.

0


Thank you, Lucas. but I got it. When I created a Googlemapsactivity it shows me a google_maps_api.xml file to include my access key. But this file is only for debug. I changed the perspective to project and transferred to /app/src/realese/google_maps_api.xml where the key field was empty. Then just include the access key that worked!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.