Ionic deploying app steps on Android

Source: Internet
Author: User

Details Link: http://www.ncloud.hk/%E6%8A%80%E6%9C%AF%E5%88%86%E4%BA%AB/ionic%E5%9C%A8android%E4%B8%8A%E9%83%A8%E7%BD% b2app%e6%ad%a5%e9%aa%a4/

Once you've built a project with ionic and want to publish it to each App store, we're going to deploy the version we want to publish, and this time we've learned about the Android publishing process, let me introduce you:

    • This command is what we need when we debug the code, usually when we download the template, but we should delete it before we release it.

    • Cordova Plugin RM cordova-plugin-console

    • Before executing this command, you need to change the version number of Config. android-release-unsigned.apk to the corresponding one that will be generated after the command is executed. This is an unsigned apk, and next if you have a signature key you can skip the following steps, just put the android-release-unsigned.apk and your. Keystory in the same directory and execute the 4th command below. If you do not execute the following code to get one.

    • Cordova Build--release Android

    • The execution of this command will let you create a password and other prompts, follow its instructions step by step to fill in. After that there will be a xxx.keystore in the current directory.

    • Keytool-genkey-v-keystore xxx.keystore-alias yyy-keyalg rsa-keysize 2048-validity 10000

    • Execution completes this command and the signature is completed.

    • Jarsigner-verbose-sigalg sha1withrsa-digestalg sha1-keystore xxx.keystore helloworld-release-unsigned.apk yyy

    • After executing this command you can get a yyy.apk, check the introduction of Zipalign, Zipalign is an Android platform to organize the APK file tool, it can optimize the packaged Android application, so that the interaction between Android operating system and application More efficient and faster to run.

Ionic deploying app steps on Android

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.