android-How to check android apk signing status?

1. Purpose

In this post, I would demo how to check the android apk signing status.

2. Environment

  • Android studio 3.x

3. The solution

Android supports three application signing schemes:

First, get your android apk path as follows:

image-20210829155532643

Then , use the path to verify the apk Signature status:

➜  1.39 /Users/bswen/Library/Android/sdk-new/build-tools/30.0.2/apksigner verify --verbose app-release.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): false
Verified using v4 scheme (APK Signature Scheme v4): false
Verified for SourceStamp: false

4. Summary

In this post, I demonstrated how to check if the android apk signing status programmatically .

-->