简体   繁体   中英

How to generate a signed key for my bundle in Android Studio?

I'm trying to export and upload a key from Android Studio but all the tutorials I've seen instruct you to click on "Build" and then "Generate Signed Bundle or APK" in Android Studio but I don't have that option. 在此处输入图像描述

I currently have Android Studio Arctic Fox 2020.3.1 Patch 4 installed.

Add this line and create a JKS file into an app folder.

be sure you use last version of Android Studio

android {
...
signingConfigs {
    release {
        keyAlias 'name your choosen'
        keyPassword 'pass'
        storeFile file('key.jks')
        storePassword 'pass'
    }
}

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