成都网站建设设计

将想法与焦点和您一起共享

AndoridAPK发布-创新互联

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.

嘠攀爀猀椀漀渀 Code/Version Name

嘠攀爀猀椀漀渀Code is INT type, it is not visibleto user

嘠攀爀猀椀漀渀一愀洀攀 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

圠椀渀搀漀眀猀 -> run -> “cmd” to run the commands

圠漀爀欀椀渀最 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

Andorid APK 发布

UseJDK to make the keystore

圠漀爀欀椀渀最 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

圠漀爀欀椀渀最 folder:…\jdk1.7.0_13\bin\

倠甀琀 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

圠漀爀欀椀渀最 folder: …\android-sdkr22.3\tools\

倠甀琀 your signed APK file to thisfolder

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

Done

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

另外有需要云服务器可以了解下创新互联scvps.cn,海内外云服务器15元起步,三天无理由+7*72小时售后在线,公司持有idc许可证,提供“云服务器、裸金属服务器、高防服务器、香港服务器、美国服务器、虚拟主机、免备案服务器”等云主机租用服务以及企业上云的综合解决方案,具有“安全稳定、简单易用、服务可用性高、性价比高”等特点与优势,专为企业上云打造定制,能够满足用户丰富、多元化的应用场景需求。


本文名称:AndoridAPK发布-创新互联
文章地址:http://chengdu.cdxwcx.cn/article/cescdp.html