Android studio:无法选择签名版本

我想用V1和amp;来构建我的应用程序V2签名版.但他们两个都是灰色的.谁能告诉我如何让它可供选择?
[生成签名]

解决方法:

official document所述,

Android 7.0 introduces APK Signature Scheme v2, a new app-signing scheme that offers faster app install times and more protection against unauthorized alterations to APK files. By default, Android Studio 2.2 and the Android Plugin for Gradle 2.2 sign your app using both APK Signature Scheme v2 and the traditional signing scheme, which uses JAR signing.

所以请确保android studio和模块的gradle插件(build.gradle-> com.android.tools.build:gradle)更新到2.3及更高版本.

上一篇:XML-Signature 语法和签名


下一篇:php – 使用PGP / MIME签署多部分邮件