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 that the ANDROID_HOME
environment variable is set.
$ echo $ANDROID_HOME
$ export ANDROID_HOME=$HOME/Android/Sdk
$ echo $ANDROID_HOME
/home/f9n/Android/Sdk
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.5.5.tar.gz
(17.4 kB
view hashes)
Built Distribution
Close
Hashes for avd_compose-0.5.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5bf9bb07e89b6d1954c571f2d0ea33f9c19f1646b225621a781e443a02a84e1 |
|
MD5 | ecf544d6c4677d67e1598f699f6a7268 |
|
BLAKE2b-256 | bb16680e84e1a2e3f36f5611eca6fdcc0de36a636fca852ff9c1286eb16d7e6a |