Skip to main content

Define and run android virtual devices

Project description

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

Project details


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 details)

Uploaded Source

Built Distribution

avd_compose-0.5.5-py3-none-any.whl (19.4 kB view details)

Uploaded Python 3

File details

Details for the file avd-compose-0.5.5.tar.gz.

File metadata

  • Download URL: avd-compose-0.5.5.tar.gz
  • Upload date:
  • Size: 17.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.12 CPython/3.7.3 Linux/4.19.49-1-MANJARO

File hashes

Hashes for avd-compose-0.5.5.tar.gz
Algorithm Hash digest
SHA256 aed0aaa2b2e2c05f2b95f9a2a40d9d8c65db93d57a229cfafc5dfdd160dff2e6
MD5 0da326ad20ebd7d1474bc22f2bb61e64
BLAKE2b-256 878bbfb0533190c5510cfd444268a9aa50871ceeba6a8e77d1b392f9a3fc5c63

See more details on using hashes here.

File details

Details for the file avd_compose-0.5.5-py3-none-any.whl.

File metadata

  • Download URL: avd_compose-0.5.5-py3-none-any.whl
  • Upload date:
  • Size: 19.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/0.12.12 CPython/3.7.3 Linux/4.19.49-1-MANJARO

File hashes

Hashes for avd_compose-0.5.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d5bf9bb07e89b6d1954c571f2d0ea33f9c19f1646b225621a781e443a02a84e1
MD5 ecf544d6c4677d67e1598f699f6a7268
BLAKE2b-256 bb16680e84e1a2e3f36f5611eca6fdcc0de36a636fca852ff9c1286eb16d7e6a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page