尝试将APK上传到Google Play时出错
问题描述:
您上传了签名无效的APK(了解有关签名的更多信息).来自apksigner的错误:错误(Jar签名者CERT.RSA):JAR签名META-INF/CERT.SF表示使用APK签名方案v2对APK进行了签名,但未找到此类签名.签名被剥夺了吗?
You uploaded an APK with an invalid signature (learn more about signing). Error from apksigner: ERROR (Jar signer CERT.RSA): JAR signature META-INF/CERT.SF indicates the APK is signed using APK Signature Scheme v2 but no such signature was found. Signature stripped?
我正在与Cordova进行此操作,将其签名然后对齐,我真的不知道我在这里缺少什么..
Im doing this with Cordova, signed it and then aligned it, i dont really know what im missing here..
答
在签名之前进行对齐(如果确实需要)
Do alignment (if you really need it) before signing
https://developer.android.com/studio/publish/app-signing.html#signing-manually