Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What is the simple packaging process for AnroidStudio?

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article will explain in detail how the simple packaging process of AnroidStudio is, and the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.

Apk file is a package, packaging is to generate apk files, with apk others can install and use. Packaging is divided into debug version and release package. Generally speaking, packaging means that the apk of the apk,release version of the release version will be smaller than the debug version, and the release version will also confuse and use their own keystore signature to prevent others from decompiling and repackaging to replace your application.

To put it simply, it is to issue an ID card to your apk and apply for an account to prevent people who look like you from impersonating you. The apk ID card here is our ".jks" file. So this jks file is very important.

If you have the same code and generate two jks files to package, it represents two software.

Of course, there are many ways to package jks files, you can use the signature that comes with AS, you can also sign through Gradle, and so on. Let's talk about the regular ones here. **

There are two main types of regular AS packaging:

One is packaging without ".jks" files.

First, there is no ".jks" file packaging

First, we choose Build-> Generate Signed APK.

Since we don't have a key (ID card), we are going to generate a key, so here we choose Create new.

(note: there are two "key passwords" because one is the key password and the other is the key password, but usually we choose to set the same, which is convenient for us to remember, so we all think it is the password of the key. )

Select Create new … And then there will be:

After clicking ok, the file is selected and the jks file is generated.

After clicking ok, the following appears:

These are all brought out automatically.

Whether to remember the password, if you are afraid that you forget the password, you can choose to remember the password.

And then there's Next.

Compiling, when the upper right corner of the AS appears

Second, the package of ".jks" files

First, we choose Build-> Generate Signed APK.

My jks file is on the E disk, called test.jks, click OK.

The alias is test, enter the password, click Next, and the following steps are the same as above.

On AnroidStudio simple packaging process is how to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report