seven456 / MultiChannelPackageTool

Android Multi channel package tool (安卓多渠道打包工具)
Apache License 2.0
999 stars 228 forks source link

Android 7.0 应用不能安装 #18

Closed ghost closed 7 years ago

ghost commented 7 years ago

渠道包安装时显示应用包已损坏

seven456 commented 7 years ago

Android 7.0 引入一项新的应用签名方案 APK Signature Scheme v2 在build.gradle中添加“v2SigningEnabled false”即可; signingConfigs { release { ... v2SigningEnabled false } }

https://developer.android.com/about/versions/nougat/android-7.0.html#apk_signature_v2