Andorid APK 发布

1. Get APK file from App supplier


APKshould be unsigned

APKshould be the Release version, withbelow items defined:

��愀���帚缸钆� name (e.g. ”com.philips.btaudioconn”)

It is the identification of theApp.

�Q攀�e�Q��N�` Code/Version Name

�Q攀�e�Q��N�`Code is INT type, it is not visibleto user

�Q攀�e�Q��N�`一愀��攀 is visible to user, e.g., 1.0.0

Android SDK version supported: e.g., 9means Android 2.3


Tips: You can also develop AndroidApp by yourself


2. Sign and align the APK

Necessarytools:

JDK(Java SE DevelopmentKit)

Android SDK

1)Using command line

�L��`搀�N�b�Q -> run -> “cmd” to run the commands

�L�N�e���`最 folders must be writable

APK file name should not include blank character

Can also use batch scripts, batch file must be in ANSI format

吠栀攀 following demo uses command lineas example

2)Using Eclipse

wKiom1Lnem_Smq8KAAFGlv9zq10487.jpg


UseJDK to make the keystore

�L�N�e���`最 folder:…\jdk1.7.0_13\bin\

Command: keytool -genkey -alias woox-keystorewoox.key

Enter 1)password 2)your name3)your organization

Done

当然一般来说我们都有一个现成的keystore来发布一系列APK

下面对APK进行签名:


UseJDK to sign the APK file

�L�N�e���`最 folder:…\jdk1.7.0_13\bin\

���I�H your APK file and the Philipskeystore file to this folder

Command: jarsigner -digestalg SHA1 -sigalg MD5withRSA -verbose -keystore philips.key -signedjar MyApp_signed.apk MyApp.apk philips

Enter password for the keystore

Done


下面对APK进行对齐打包:

UseAndroid SDK tools to zipalign(optimize) the APK file

�L�N�e���`最 folder: …\android-sdkr22.3\tools\

���I�H your signed APK file to thisfolder

Command: zipalign -v 4 MyApp_signed.apk MyApp_final.apk

Done


接下来准备App的描述和图片素材:

Get the App name to be appeared on GooglePlay(<=30 char)

Get the App description fromCMM/copywriter (<4000 char)

Get the Screenshots:  length>=320, typically 800*480, JPG or24bit PNG, original style without decoration.

At least 2 screenshots are requested

Get the high Resolution icon fromCMM/PD/supplier

Must be 512*512 size in 32bit PNG with alpha channel


3.Upload APK and prepare storelisting

1)

. Login Google Play Developer Console https://play.google.com/apps/publish/

. Click “Add new application”

. Start to publish the App

唠�X��N愀搀 APK

���e攀�X愀�e攀 store listing,

���e�����`最愀�`搀 distribution

wKioL1LnfOOxIxl-AAExd3daJEc481.jpg

wKiom1LnfT3QUNVAAACQJDgPnBw816.jpg


Tips for publishing


唠�Q�I愀��汛� publish to all countriesfor free

唠�Q�I愀��汛� choose“Application/Entertainment” as the type & category, choose “All people” forcontent rating.

A website and service emailaddress are requested, e.g. you can use:

   http://www.xxxxxx.com/about/company/businesses/consumerlifestylehighlights/index.page

   [email protected]

匠愀��攀 publishing steps for App andWidget


Search your newApp onGoogle Play


�L愀�惮H 1-24 hours until your Appcan be seen on Google Play,

唠�Q攀�e can run Google Play Store on Androidphone to search and install the App online

唠�Q攀�e can also search it from web

吠��X�Q:

   Fuzzysearch by keywords is supported.

   It is not allowed to download the APK file from Google Play.



Version updatefor the App


���e攀�X愀�e攀 new APK file for the App

It should be with same packagename, and with different version code & version name.

匠栀�N�I�巡� use same keystore file for signature.

Login the Google Play Developer Console

  .https://play.google.com/apps/publish/

Go to the page of your App

唠�X��N愀搀 the new APK file

Tips:

   . Android system will overwrite the old onewhile installing it.

   . Make sure Philips account owner has authorized your accountfor updating Apps.

wKiom1LnftPSdE-fAAD0skyDUGU673.jpg

你可能感兴趣的:(andorid,File,version)