[Android] No.2 Ionic package

After the project is finished next packaging operation, and the next direct that Android packaging operations

Generating a signature certificate

keytool -genkey -alias vincentguo -keyalg RSA -validity 20000 -keystore vincentguo.keystore
#说明:
#    -genkey 产生密钥
#    -alias vincentguo 别名vincentguo
#    -keyalg RSA 使用RSA算法对签名加密
#    -validity 20000 有效期限2000天
#    -keystore vincentguo.keystore

Packaging generated apk

ionic build android -release


Signature apk

jarsigner -verbose -keystore ~/code/ionic/vincentguo.keystore -signedjar  dbq.apk  android-release-unsigned.apk  vincentguo

Dbq.apk generated files can be published to the major application market, and can also provide direct download


Digression

Packaging is to use the ios xcode, ionic comes not like


Original Address: [] No.2 Ionic Android Package
Tags: Ionic    contracting    Release    Build    the keytool    jarsigner   

Intelligent Recommendation

Reproduced in: https: //my.oschina.net/54php/blog/757192

Guess you like

Origin blog.csdn.net/weixin_33978016/article/details/91518055