This is the 12th day of my participation in the August More Text Challenge. For details, see: August More Text Challenge.

In the Process of Android development, using Google’s integrated development tool Android Studio for Android project APK packaging is a necessary skill, for Android developers is very simple things, but for those who do not know, it is not the same. This blog post will share the steps of packing apK for easy reference.

There are two versions of Android development package APK, one is a debug version (test version), the other is a release version (official release version), this example uses the release version to do the introduction.

1. Open Android Studio and enter the project that needs to package APK;

2. Go to the Build option in the top menu bar of Android Studio and click “Generate Signed Bundle/APK…” Option enter;

3. Enter Generate Signed Bundle or APK and select JKS file path. If a JKS file has been created, select the corresponding JKS file. Enter the key password, key alias, public key password, and click Next.

4. Enter the path to select the file to generate the exported APK, and select the mode of APK: Release. Select the following V1 and V2, neither of which is necessary.

5. After a short wait, a pop-up box will be prompted in the lower right corner, indicating that the APK package is successful. Then you can see the packaged APK file by generating the exported folder according to the apK selected in the fourth step.

The attached:

The steps to create a JKS ** file are as follows:

1. Click Create New to Create a new JKS file, and then select the location where the new JKS file is stored.

2, set JKS information, password, name, basic information and other content, and then click OK button, you can create JKS file.

The above is all of this chapter, welcome to pay attention to three shopkeeper’s wechat public number “program ape by three shopkeeper”, three shopkeeper’s Sina Weibo “three shopkeeper 666”, welcome to pay attention!