1、根据apk中的签名文件 CERT.RSA
keytool -printcert -file D:\Desktop\CERT.RSA
2、根据apk查看
keytool -printcert -jarfile 检查.apk
3、根据签名文件keystore
keytool -list -v -keystore changmeng.keystore
4、检查签名类型
//找到你的lib路径
1、cd /Users/shenyang/Library/Android/sdk/build-tools/30.0.2/lib
2、java -jar apksigner.jar verify -v 你的.apk
Verifies
Verified using v1 scheme (JAR signing): true
Verified using v2 scheme (APK Signature Scheme v2): true
Verified using v3 scheme (APK Signature Scheme v3): true
Verified using v4 scheme (APK Signature Scheme v4): false
Verified for SourceStamp: false
Number of signers: 1