Google maps v2 does not appear after publishing in the gaming market

I have some problems, my application works fine, but when I upload it to the Play Market, the cards do not work correctly. I do the following:

  • Get SHA1 keytool -list -v -keystore C:\User\Name/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
  • In the Google console, I am creating an API key. SHA1;com.kostya.app
  • Rigth click on project - Android tools - Export a signed application package
  • Create a new keystore and a new * .apk file.
  • Download it to the market.

Where is my mistake? I read this article . Together we can create a good tutorial on how to sign an application using google maps v2. How to test the application immediately after loading on the game market, without taking off some of ours.

+4
source share
6 answers

When you create a keystore to create a signed apk, you must do this.

  • change the debug.keystore file to the created keystore
  • change your project name alias
  • set the password in the same way as in the created keystore (and not in android, as in debug mode)

    keytool -list -v -keystore ~ ​​/.android/YOUR_KEYSTORE -alias YOUR_PROJECT_NAME

more help find here

+8
source

You need to create a production key store, you should not use debug.keystore.

Check out the documentation .

+1
source

Just generate SHA1 using

keytool -list -v -keystore mystore.keystore

and add the package name and SHA1 fingerprint to the already generated ones

0
source

I used Android studio to create a release key store. After several attempts in two days, I finally got it to work. The problem is that when creating a signed APK in Android Studio, either by selecting an existing keystore, or by creating a new file, the default for the keystore file is ".jks". This is problem. After I changed this to ".keystore" and generated apk release and then copied SHA1 to the Google console. Finally, a map can be displayed.

enter image description here enter image description here

0
source

Just add apikey for debugging> res> values> google_maps_api.xml

add to release> res> values> google_maps_api.xml files.

0
source

after publishing the application in the game store. on the Google Play console. Go to: Release Management> Signing an Application from the "Application Signing Certificate", copy SHA1 and paste it into the Google Cloud Platform API console.

0
source

Source: https://habr.com/ru/post/1260972/


All Articles