Define and run android virtual devices
Project description
avd-compose
Define and run android virtual devices
Requirements
- android-studio
- python3.4+
- pip3
Notes
Make sure
avdmanager
,sdkmanager
-> ($ANDROID_HOME/tools/bin)emulator
-> ($ANDROID_HOME/tools)
are in your user's $PATH
variable.
Install
$ pip3 install --user avd-compose
Usage
$ avd-compose --help
$ avd-compose version
$ cat <<EOF >avd-compose.yml
version: 1
platforms:
- name: My_Nexus_5
avd:
package: "system-images;android-27;google_apis_playstore;x86"
device: Nexus 5
emulator:
- name: My_Nexus_One
avd:
package: "system-images;android-27;google_apis_playstore;x86"
device: Nexus One
emulator:
EOF
$ # Create all of them
$ avd-compose create
$ # Create one of them
$ avd-compose create --name My_Nexus_One
$ # Destroy all of them
$ avd-compose destroy
$ # Destroy one of them
$ avd-compose destroy --name My_Nexus_One
$ avd-compose up --name My_Nexus_5
Examples
Look up the examples directory.
Credits
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
avd-compose-0.3.2.tar.gz
(16.7 kB
view hashes)
Built Distribution
Close
Hashes for avd_compose-0.3.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 930920ecc289f8dcae0116a08b5aecdf5ddacafa31bd3292bfd05c717d6e17af |
|
MD5 | c0de385dc4158992f344787f346e9c0f |
|
BLAKE2b-256 | 675c5a468bfc83be87615494779d45bb1131574b258891119b1c3d7a13169fe6 |