Google Maps Api don't work when uploaded

后端 未结 2 579
情歌与酒
情歌与酒 2020-12-22 12:16

My application does not work when I upload it to the play store. It works fine when installing it from android studio.

Is there something special that\'s need to be

相关标签:
2条回答
  • 2020-12-22 12:42

    In windows this would be the command to get SHA1 key

    Open a terminal window. ​

    • cd C:\Program Files\Java\jdk1.7.0_05\bin
    • Next we have to run the keytool.exe. Use the following line to get the Android SHA1 fingerprint.
    • ​(PRODUCTION KEYSTORE) keytool -exportcert -alias keystore -keystore "C:\Users\myusername\Documents\AndroidKeystore\androidkestore.jks" -list -v​
    • (DEBUG KEYSTORE:)​ keytool -list -v -keystore "%USERPROFILE%.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android​

    Note the third point where keystore for production is retrieved. You need to add this value into your developer console as shown below

    0 讨论(0)
  • 2020-12-22 12:59

    Go to your Google Api Console -->> Select your Project --> Go to Credential --> Click on Api key you generated.

    Here you can check the packageName And your SHA 1 check if eveythign is proper.(you have submitted correct SHA1) And It should work.

    0 讨论(0)
提交回复
热议问题