Kostya Khuta Kostya Khuta - 1 month ago 14
Android Question

Google maps v2 doesn't showing after publishing in play market

i have some problem, my app works fine, but when i load it in Play market, maps does not works correctly. I make next:


  1. Get SHA1
    keytool -list -v -keystore C:\User\Name/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android

  2. In Google console i create API KEY.
    SHA1;com.kostya.app

  3. Rigth click on project - Android tools - Export signed application packuage

  4. Create new keystore and new *.apk file.

  5. Load it into market.



Where is my mistake? I read this article. Together we can create nice tutorial how to sign app using google maps v2. How to test application at once after loading in play market, without weithing some ours.

Answer

When your are creating keystore for creating signed apk you have to do this.

  1. change debug.keystore to your created keystore
  2. change alias name to your project name
  3. set the password the same like in your created keystore (not android as in debug mode)

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

more help find here

Comments