1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
% SPLIT-SELECT(1) | 7.0.0_r1 (24.0.0)
% The Android Open Source Project
% 22 August 2016
# NAME
split-select - APK split and selection tool
# SYNOPSIS
**split-select** --help
**split-select** --target _config_ --base _path/to/apk_
[--split _path/to/apk_ [...]]
**split-select** --generate --base _path/to/apk_ [--split _path/to/apk_ [...]]
# OPTIONS
--help
: Displays more information about this program.
--target _config_
: Performs the Split APK selection on the given configuration.
--generate
: Generates the logic for selecting the Split APK, in JSON format.
--base _path/to/apk_
: Specifies the base APK, from which all Split APKs must be based off.
--split _path/to/apk_
: Includes a Split APK in the selection process.
Where **config** is an extended AAPT resource qualifier of the form
"resource-qualifiers:extended-qualifiers", where "resource-qualifiers" is an
AAPT resource qualifier (ex: en-rUS-sw600dp-xhdpi), and 'extended-qualifiers'
is an ordered list of one qualifier (or none) from each category:
```
Architecture: armeabi, armeabi-v7a, arm64-v8a, x86, x86_64, mips
```
Generates the logic for selecting a Split APK given some target Android device
configuration. Using the flag **--generate** will emit a JSON encoded tree of
rules that must be satisfied in order to install the given Split APK. Using the
flag **--target** along with the device configuration will emit the set of Split
APKs to install, following the same logic that would have been emitted via JSON.
# SEE ALSO
`http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits`
|