Eclipse will build Android project apk installation file Graphics tutorial

Source: Internet
Author: User

The steps for Eclipse to generate the Andoid installation file apk are as follows

1.) Generate KeyStore

Follow the command line below in the C:\Program files\java\jdk1.6.0_10\bin> directory, enter the Keytool-genkey-alias android.keystore-keyalg rsa-validity 100000-keystore Android.keystore

Parameter significance:-validity is mainly the validity period of the certificate, write 100,000 days, space, the BACKSPACE key is counted password.

After the command is executed, the Android.keystore file is generated in the C:\Program files\java\jdk1.6.0_10\bin> directory. As shown in Fig. 1

Figure-1 command line Generation Android.keystore

2.) Eclipse generates APK files

Select the items to package, right-click –>android tools–>export signed Application Package ... As shown in Fig. 2

Figure-2 Eclipse packaging tools

The next step is continuous next. Only the pictures are posted below, not explained.

Step 2: Select packaged items

Step 3: Select the generated Android.keystore file and enter the password

Step 4: Select the alias key and enter the password

Step 5: Finally choose the directory and filename to generate the Android APK file

APK files that are eventually generated

Related Article

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.