Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
235 views
in Technique[技术] by (71.8m points)

help needed to publish android app in market

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 key for release

Please, help me.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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:appmyappmy_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:appmyappmy_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...in Keytool –list -alias youraliasname –keystore D:appmyappmy_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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...