1USAGE: apksigner verify [options] apk
2
3This checks whether the provided APK will verify on Android. By default, this
4checks whether the APK will verify on all Android platform versions supported
5by the APK (as declared using minSdkVersion in AndroidManifest.xml). Use
6--min-sdk-version and/or --max-sdk-version to verify the APK against a custom
7range of API Levels.
8
9
10        OPTIONS
11
12--print-certs         Show information about the APK's signing certificates
13
14-v, --verbose         Verbose output mode
15
16--min-sdk-version     Lowest API Level on which this APK's signatures will be
17                      verified. By default, the value from AndroidManifest.xml
18                      is used.
19
20--max-sdk-version     Highest API Level on which this APK's signatures will be
21                      verified. By default, the highest possible value is used.
22
23-Werr                 Treat warnings as errors
24
25--in                  APK file to verify. This is an alternative to specifying
26                      the APK as the very last parameter, after all options.
27
28-h, --help            Show help about this command and exit
29
30
31        EXAMPLES
32
331. Check whether the APK's signatures are expected to verify on all Android
34   platforms declared as supported by this APK:
35$ apksigner verify app.apk
36
372. Check whether the APK's signatures are expected to verify on Android
38   platforms with API Level 15 and higher:
39$ apksigner verify --min-sdk-version 15 app.apk
40