Skip to main content

No project description provided

Project description

Android Tool Downloads PyPI version Python 3.6 Build Status CircleCI

A better version of the command-line android SDK and AVD manager tools with a more intuitive interface

Installation

pip3 install androidtool

Note: Python 2 install is not supported

A better version of the command-line android tool with a more intuitive command-line interface.

Usage

androidtool [options] doctor
androidtool [options] list build tools
androidtool [options] list installed packages
androidtool [options] list api versions [--x86_64 | --x86 | --arm] [--google-apis | --no-google-apis | --android-tv | --android-wear]
androidtool [options] list other packages
androidtool [options] install basic packages
androidtool [options] install version <android-api-version> [--x86_64 | --x86 | --arm] [--google-apis | --no-google-apis | --android-tv | --android-wear]
androidtool [options] update all
androidtool [options] list avds
androidtool [options] create avd <avd-name> <android-api-version> [--x86_64 | --x86 | --arm] [--google-apis | --no-google-apis | --android-tv | --android-wear]
androidtool [options] start avd <avd-name> [--headless]

Options

-v, --verbose       Verbose mode

Sub-command description

doctor - ensures that you have right version of Java. In the future, it will check Android SDK installation as well.
list build tools - lists available build tools
list api versions - lists different SDK versions available to install
list other packages - lists packages apart from build tools and api versions
list installed packages - lists installed packages
list avds - lists setup AVDs
install basic tools - installs a basic set of tools. Highly recommended to run it the first time.
install version - installs a particular API version
update all - updates all installed packages to the latest versions.
create avd - creates a new AVD. It will install the package, if required. By default, Google API build with X86_64 (on 64-bit) and X86 on 32-bit will be created.
start avd - Starts an existing AVD.

Usage example

$ androidtool doctor
Checking java version...
Correct Java version 1.8 is installed
Checking SDK manager is installed...
Checking that basic Android packages are installed...
Package 1/8: "build-tools;28.0.3" is installed
Package 2/8: "emulator" is installed
Package 3/8: "tools" is installed
Package 4/8: "platform-tools" is installed
Package 5/8: "extras;android;m2repository" is installed
Package 6/8: "extras;google;m2repository" is installed
Package 7/8: "patcher;v4" is installed
Package 8/8: "extras;intel;Hardware_Accelerated_Execution_Manager" is installed
$ androidtool list build tools
...
build-tools;26.0.1
build-tools;26.0.2
build-tools;26.0.3
build-tools;27.0.0
build-tools;27.0.1
build-tools;27.0.2
build-tools;27.0.3
build-tools;28.0.0
build-tools;28.0.0-rc1
build-tools;28.0.0-rc2
build-tools;28.0.1
build-tools;28.0.2
build-tools;28.0.3
$ androidtool list api versions --arm
Google API type: default (Standard Android image; no Google API)
armeabi-v7a -> 14, 14, 10, 14, 15, 16, 17, 18, 19, 21, 22, 24

Google API type: google_apis
armeabi-v7a -> 10, 15, 17, 18, 19, 21, 22, 23, 24, 25

Google API type: android-tv
armeabi-v7a -> 21, 23

Google API type: android-wear
armeabi-v7a -> 23, 25

Google API type: android-wear-cn
armeabi-v7a -> 25
$ androidtool list api versions --x86 --google-apis
Google API type: google_apis
x86 -> 10, 15, 16, 17, 18, 19, 21, 22, 23, 24, 25, 26, 27, 28
x86_64 -> 21, 22, 23, 24, 25, 26, 28
$ androidtool list avds
Available Android Virtual Devices:
Name: test_avd1
Path: /usr/local/Cellar/android-sdk/.android/avd/test_avd1.avd
Target: Default Android System Image
Based on: Android API 28 Tag/ABI: default/x86
---------
Name: test_avd2
Path: /usr/local/Cellar/android-sdk/.android/avd/test_avd2.avd
Target: Default Android System Image
Based on: Android API 28 Tag/ABI: default/x86
$ androidtool update all
No packages to update
All licenses accepted

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

androidtool-1.3.7.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

androidtool-1.3.7-py3-none-any.whl (12.7 kB view details)

Uploaded Python 3

File details

Details for the file androidtool-1.3.7.tar.gz.

File metadata

  • Download URL: androidtool-1.3.7.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.2

File hashes

Hashes for androidtool-1.3.7.tar.gz
Algorithm Hash digest
SHA256 e4fd218845e589caa6376368238d124f8736e038e06821c6ca6133aef48c7197
MD5 2a2cc990f590856f11bd66b13791802e
BLAKE2b-256 8e8862a9fccab2627f0a84c5dd0c829cebf2ef9a3606d7715cb4d1c98f91c79d

See more details on using hashes here.

File details

Details for the file androidtool-1.3.7-py3-none-any.whl.

File metadata

  • Download URL: androidtool-1.3.7-py3-none-any.whl
  • Upload date:
  • Size: 12.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.2

File hashes

Hashes for androidtool-1.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7ffcb02f1e847d233205c428c13db1e74a9b0390abfdcacbb8973e707584e87d
MD5 4dbee28a8bb5e7a05e7dfb9a12d44b27
BLAKE2b-256 e40f7ff4f380c4ab9e0c05074733099189422de0e7d562ee5ee3cdfa9dbff75e

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