0

I made an app on google maps. Added API key in my project that I made from google developer console. Can anybody please guide me how to upload apk on playstore? I am asking because I am putting it first time on play store and I should not miss any steps. And since it is related to google maps might be I need to do some extra steps.

I tried to start this using file< export and then three options come. One of which is location with browse button. Which location is to be selected?

<meta-data
    android:name="com.google.android.maps.v2.API_KEY"
    android:value="MY API KEY" />

So please gyus help me in this.

NorthCat
  • 9,643
  • 16
  • 47
  • 50
Jackie Chan
  • 782
  • 1
  • 5
  • 9

1 Answers1

1
  1. export a signed version of your apk by right click on project -> android tool -> signed apk-> follow the procedure

  2. save the key store in some secure place, cause its needed for update your application second time.

  3. take some screen shoots of your application to publish on play store.

3.create a account on google and upload will take some hours to publish.

Rahul
  • 1,380
  • 1
  • 10
  • 24
  • in location which location i need to select? – Jackie Chan Apr 14 '15 at 07:34
  • where you want to save your keystore – Rahul Apr 14 '15 at 07:43
  • ok after that window there is another window asking alias name password and confirm password. Is it the same password which was in previous window? and yes once i made the keystore where i need to put that keystore file? – Jackie Chan Apr 14 '15 at 07:49
  • also what should i put in alias name and what is the use of it? and basically i am using google maps api key in my project so what changes i need to do? – Jackie Chan Apr 14 '15 at 07:50
  • just put your name is alias name and the password is same as previous, and that keystore is used for future for now there is no use but you have to store it for future use. – Rahul Apr 14 '15 at 07:51
  • ok apk is generated. is it called signed apk? and yes in my manifest there is google maps api key . So do i need a little bit changes in that key? – Jackie Chan Apr 14 '15 at 07:58
  • if that is correct whatever you generated from google developer then do not change any thing just upload to google play. – Rahul Apr 14 '15 at 08:38
  • i made api key for google maps by SHA fingerprint that we get in Windows> preferences>Android>Build in the following way SHA1;package name. Is it correct(i used it for testing my app)? Then i put that in manifest and made keystore and apk. But in some documents i read that for releasing apk we have to make a diffrent SHA 1 fingerprint by the keystore that we made. I havnt done those steps. Do i need to do those and made api key again with release sha1 fingerprint? – Jackie Chan Apr 14 '15 at 09:20
  • use keytool -list keystore mykeystore.keystore it gives you a MD5 Certificate fingerprint. then Start an export process to create an apk for your app and use your production key. The very last page displays both your SHA1 and MD5 certificate fingerprints – Rahul Apr 14 '15 at 10:16
  • is my answer is helpful for you, if yes then accept my answer. – Rahul Apr 14 '15 at 10:17
  • ok then i put this key in manifest. but then which apk to upload? the one which is formed at the time of making keystore or the one which is now once i put the new sha 1 fingerprint in manifest? – Jackie Chan Apr 14 '15 at 10:18
  • last one whick you created using sha 1 fingerprint. – Rahul Apr 14 '15 at 10:24
  • ok so this time i dont need to export it or make a new keystore for map key changes? What i am doing is the new api key i am putting it in manifest and running the program and taking apk (which i need to put on play store) which is formed in bin folder. If there are any changes please let me know or if i m still wrong. – Jackie Chan Apr 14 '15 at 10:31
  • no man dont use bin folder apk you have to use signed apk, which ever api key it doesnt matter, just export a signed verson and upload. – Rahul Apr 14 '15 at 10:37
  • signing it again will ask to make keystore again. I have already made keystore before and with that keystore only i made release key for google maps. Should i make keystore again? – Jackie Chan Apr 14 '15 at 10:43
  • What are the other things that I should do after publishing an app? I just found out that I have to link my app in admob. – Mr. Nacho Feb 08 '18 at 09:19
  • it depends if you want to monetization then you have to else not required. – Rahul Feb 08 '18 at 09:42