简体   繁体   English

生成签名的 APK - 签名版本 - 选择什么?

[英]Generate signed APK - Signature version - What to choose?

What to choose - V1 signature or V2?选择什么 - V1 签名或 V2? My app is for android 4+.我的应用程序适用于 android 4+。 So if I'll use signature version V2, can I install it on phones with android 4+.所以如果我要使用签名版 V2,我可以将它安装在 android 4+ 的手机上吗? As I know V2 signature came out after Android 7 and I think that phones above android 7 can't install app, because of V2 signature.据我所知,V2 签名是在 Android 7 之后出现的,我认为由于 V2 签名,Android 7 以上的手机无法安装应用程序。 So what to choose?那么如何选择呢? Can I choose both and what will be if I'll choose both signature versions?我可以同时选择两个吗?如果我选择两个签名版本会怎样? Thank you.谢谢你。

You should sign with both v1 and v2.您应该同时使用 v1 和 v2 签名。

The v2 signature will be used on devices Android 7+, and the v1 signature will be used on the other devices. v2 签名将用于 Android 7+ 设备,v1 签名将用于其他设备。 You could technically only sign with v1, but v2 is faster so your app installs faster on devices that support it.从技术上讲,您只能使用 v1 进行签名,但 v2 速度更快,因此您的应用在支持它的设备上安装速度更快。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM