I am a new developer, I was built an application Android and pushing to google play and appear an error when I pushing a APK file. It takes 5 days, but not fix this error. I use visual studio 2017 (xamarin).
Error:
You uploaded an APK with an invalid signature (learn more about signing). Error from apksigner: ERROR: JAR_SIG_NO_MANIFEST: Missing META-INF/MANIFEST.MF
Make sure you mark both v1(jar Signature) and V2(full APK signature)
EDIT: By the way, the reason for it to fail if you sign with v2 only, is that v2 was introduced in Android 7.0 (sdk 24) and you are probably targeting an older minSdkVersion
.
Therefore, if you target minSdkVersion 23
or below, you need to use signing schemes v1 AND v2 (or only v1), because if the app is installed on Android 6.0 or older, it can only be verified through v1 scheme.
If you target minSdkVersion 24
or above, then you can use v2 on its own, since the app won't be installed on older versions.
You can also check this poorly noted on Android Docs, third paragraph.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With