Skip to main content

avd-compose PyPi version PyPI pyversions

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

Release files for avd-compose 0.5.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for avd-compose 0.5.5
File Size Uploaded
avd-compose-0.5.5.tar.gz 17.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for avd-compose 0.5.5
File Interpreter ABI Platform
avd_compose-0.5.5-py3-none-any.whl Python 3 none any Details

Total release size: 36.8 kB

Release files / avd-compose-0.5.5.tar.gz

Download URL avd-compose-0.5.5.tar.gz
Size 17.4 kB
Tags Source
SHA-256 checksum
How to use checksums
aed0aaa2b2e2c05f2b95f9a2a40d9d8c65db93d57a229cfafc5dfdd160dff2e6
BLAKE2b-256 checksum
How to use checksums
878bbfb0533190c5510cfd444268a9aa50871ceeba6a8e77d1b392f9a3fc5c63
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.12 CPython/3.7.3 Linux/4.19.49-1-MANJARO

Release files / avd_compose-0.5.5-py3-none-any.whl

Download URL avd_compose-0.5.5-py3-none-any.whl
Size 19.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d5bf9bb07e89b6d1954c571f2d0ea33f9c19f1646b225621a781e443a02a84e1
BLAKE2b-256 checksum
How to use checksums
bb16680e84e1a2e3f36f5611eca6fdcc0de36a636fca852ff9c1286eb16d7e6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.12 CPython/3.7.3 Linux/4.19.49-1-MANJARO

Release history Release notifications | RSS feed

This release

0.5.5 This release

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page