简体   繁体   中英

Android Generate signed APK

Android Key Generator screen in Android Studio

When I try to generate a signed apk in Android Studio I get this screen to generate a new key. I have made a folder 'Android Key' and when I set path to this folder the wizard is asking for File name .jks. Where can I find .jks ?

Signing Your App in Android Studio

To sign your app in release mode in Android Studio, follow these steps:

1.On the menu bar, click Build > Generate Signed APK.

2.On the Generate Signed APK Wizard window, click Create new to create a new keystore. If you already have a keystore, go to step 4. 在此输入图像描述

3.On the New Key Store window, provide the required information as shown in figure 1. Your key should be valid for at least 25 years, so you can sign app updates with the same key through the lifespan of your app.

4.On the Generate Signed APK Wizard window, select a keystore, a private key, and enter the passwords for both. Then click Next. 在此输入图像描述

5.On the next window, select a destination for the signed APK and click Finish.

在此输入图像描述

To generate a signed apk, you will need a keystore. Follow this procedure to generate a keystore.

  1. On the menu bar, click Build > Generate Signed APK .
  2. On the Generate Signed APK Wizard window, click Create new to create a new keystore.
  3. On the New Key Store window, provide the required information.
  4. Save fileName.jks file and keep it safe.

Use this keystore file for signing your file in future.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM