File: split-select.1.md

package info (click to toggle)
android-platform-frameworks-base 1%3A7.0.0%2Br33-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 137,116 kB
  • sloc: java: 704,370; cpp: 206,670; xml: 185,778; python: 2,626; ansic: 486; sh: 291; makefile: 48; sed: 19
file content (52 lines) | stat: -rw-r--r-- 1,608 bytes parent folder | download
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`