help needed to publish android app in market

后端 未结 2 1806
庸人自扰
庸人自扰 2020-12-12 05:29

I have made a application in android with map view and I want to publish it on market.

So first of all how to export final APK from eclipse and second Google map API

2条回答
  •  感动是毒
    2020-12-12 06:08

    For creating the apk file.

    Right click on your project->Export
    
    Select the Android->Export Android Application
    
    then next
    
    In this wizard by default you get your project name which you have selected then next
    
    in this keystore you have to create your keystore as first time then select Create new keystore and set the path like this way or you can browse it by click on browse button
    path e.g. D:\app\myapp\my_release.keystore
    
    set the password here with confirm password then next.
    
    Set the Alias name here
    Set the password and confirm password (this is different from the previous one but)
    Set the year and other details
    then click next
    here set the path for your apk file
    for e.g. D:\app\myapp\my_app.apk
    

    now your apk file was created but you have set the map api key with this newly created keystore for mobile device.

    obtain your map key using this keystore like this way

    c:\java\...\bin Keytool –list -alias youraliasname –keystore D:\app\myapp\my_release.keystore -storepass yourpassword -keypass youraliaspassword then enter
    

    now sign up and obtain map key from google site with this certificate fingerprint and change the api key in your xml file (Note this api key will work only of the mobile as you generate for your emulator you have to also keep save as backup).

    now again regenerate the apk file as above step. But this time you have to select existing keystore

提交回复
热议问题