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:
Are there any guide to do this (I'm totally no clue about Gradle-based projects)? Thanks
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:
Are there any guide to do this (I'm totally no clue about Gradle-based projects)? Thanks
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