Parameters for Android offline instrumentation
Learn more about the parameters you can use when instrumenting Android apps offline, including required parameters, instrumentation flags, signing parameters, logging, help and version.
On this page:
Required parameters
The following table lists the required input and output parameters.
| Parameter | Description |
|---|---|
|
|
The path to the input |
|
|
The path to the output folder for the instrumented app. The folder is created if it does not exist, and it must not be the folder that contains the input file. Caution: Use a different folder from the one containing the input app. If you use the same folder, the tool replaces the original app. Running the tool again on that file can double-instrument and corrupt it. An |
Instrumentation parameters
At least one of the following instrumentation parameters must be explicitly supplied for an instrumentation run. Omitting all four causes the tool to exit with Missing required argument(s).
Each parameter takes an explicit true or false value, for example -camera true. All four default to false and are independent: enabling one does not enable another. Set every instrumentation type you want to apply to true. You can combine multiple types in a single run.
| Parameter | Description |
|---|---|
|
|
A value of |
|
|
A value of |
|
|
A value of |
|
|
A value of |
Parameters for signing your app with your organization's certificate
Custom signing is optional. If you do not supply any of the following parameters, the tool signs the output with Perfecto's bundled certificate, PerfectoKey.jks.
To use your own keystore, supply all four parameters together. Supplying only some of them causes an error.
| Parameter | Description |
|---|---|
|
|
The full path to the keystore file. |
|
|
The password for the keystore file. |
|
|
The identifying name for your key. |
|
|
The password for the key. |
Optional parameters
The following table lists the logging, help, and version parameters.
| Parameter | Description |
|---|---|
|
|
The logging level: |
|
|
Print usage help and exit. |
|
|
Print version information and exit. |