0

I don't know when android studio abandon the UI for signing the apk which is such a convenient method. They just popup a window with the following message:

enter image description here

Are there any guide to do this (I'm totally no clue about Gradle-based projects)? Thanks

4

1 回答 1

0

0.2.13 重新引入了此功能。

无论如何,您可以将其添加到您的 build.gradle 脚本中:

android {
    ...
    signingConfigs {
        release {
            storeFile file("release.keystore")
            storePassword "******"
            keyAlias "******"
            keyPassword "******"
        }
    }
    buildTypes {
        release {
            signingConfig signingConfigs.release
        }
    }
}

你可以看到这个链接

http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Signing-Configurations

于 2013-10-09T19:57:18.353 回答