Closed xutingzhou closed 3 years ago
Hi @xutingzhou I see the behaviour you are describing,
this could be intentional, but honestly I cannot be sure.
Thank you for reporting this
\cc @blasten @xster
signingConfigs {
release {
storeFile file("$project.rootDir/123.keystore")
storePassword '123'
keyAlias "123"
keyPassword '123'
v1SigningEnabled true
v2SigningEnabled true
}
}
Try adding the signature flags in this way. @xutingzhou
There are no CERT files because If the mini sdk version is 23+, the AGP will ignore the V1 scheme signature.
@xutingzhou
Check above comment from @succlz123. It seems starting from min sdk version 23+, apk without CERT.RSA and CERT.SF are acceptable. If you still want to have those certs, you may use v1SigningEnabled
flag and set it to true
.
You may read more about the flag here: https://google.github.io/android-gradle-dsl/3.4/com.android.build.gradle.internal.dsl.SigningConfig.html
I am going ahead and closing this. If you disagree, write in comments and I'll reopen it.
signingConfigs { release { storeFile file("$project.rootDir/123.keystore") storePassword '123' keyAlias "123" keyPassword '123' v1SigningEnabled true v2SigningEnabled true } }
Try adding the signature flags in this way. @xutingzhou
There are no CERT files because If the mini sdk version is 23+, the AGP will ignore the V1 scheme signature.
signingConfigs { release { storeFile file("$project.rootDir/123.keystore") storePassword '123' keyAlias "123" keyPassword '123' v1SigningEnabled true v2SigningEnabled true } }
Try adding the signature flags in this way. @xutingzhou
There are no CERT files because If the mini sdk version is 23+, the AGP will ignore the V1 scheme signature.
原来是这么回事。我想升级一下版本怎么没了签名,国内市场都不给过。谢谢大佬
@xutingzhou Check above comment from @succlz123. It seems starting from min sdk version 23+, apk without CERT.RSA and CERT.SF are acceptable. If you still want to have those certs, you may use
v1SigningEnabled
flag and set it totrue
.You may read more about the flag here: https://google.github.io/android-gradle-dsl/3.4/com.android.build.gradle.internal.dsl.SigningConfig.html
I am going ahead and closing this. If you disagree, write in comments and I'll reopen it.
thanks
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v
and a minimal reproduction of the issue.
Steps to Reproduce
Flutter 1.17.3 • channel stable • https://github.com/flutter/flutter.git Framework • revision b041144f83 (14 hours ago) • 2020-06-04 09:26:11 -0700 Engine • revision ee76268252 Tools • Dart 2.8.4
Expected results: how to build a release apk after changing minSdkVersion