Use Titanium Studio to sign Android APK

Source: Internet
Author: User

Reference

Titanium default keystore:

Path: $ TitaniumSDK_HOME $ \ mobilesdk \ win32 \ 1.8.2 \ android \ dev_keystore

Password: tirocks

Alias: tidev

TitaniumSDK_HOME is C: \ Documents and Settings \ # user_name # \ Application Data \ Titanium \ by default, which can also be specified in other directories.

What should we do when we want to set the keystore by ourselves? Here we will teach you how to sign the APK step by step.

As for why the signature is required, I will not mention it here. There are many articles on the Internet, "you will know about Baidu ")

Since my OS is a Japanese system, you can understand the Japanese language.

1. Create a keystore first.

Start the command line window and execute the following command:

Reference

Keytool-genkey-v-keystore tiandroid. keystore-alias renkey-keyalg RSA-validity 365

Here, "tiandroid. keystore" and "renkey" can be changed to your own data.

"Tiandroid. keystore" is the name of the keystore file and "renkey" is the alias.

What are the meanings of keytool parameters.

The generated file is saved under "C: \ Documents ents and Settings \ RenSanNing.

2. Sign the APK

In TItanium Studio, click the three-dimensional box in the upper left corner to sign the APK.

3. Confirm the APK File

Start the command line window and execute the following command:

Reference

Jarsigner-verify-verbose D: \ F.apk

When you see the following output, your APK file signature is successful!

Reference

S = the signature has been issued.

M = when there are too many threads in the queue, there are too many threads in the queue.

K = 1 Gbit/s or above, which indicates that zookeeper has been transferred out of zookeeper.

I = 1 Gbit/s or above, which indicates that zookeeper has been used when zookeeper has been released.

Jar worker.

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.