Giter Club home page Giter Club logo

emulator-cli-autocompleter's Introduction

Thanks for Reading my Blog!

The .zip file contains the legacy command line tools given to setup your emulator environment. To setup your emulator environment correctly, please follow the blog instructions given in either of the 2 posts


Using the emulator demo script (with autocompletion support)

Emulator CLI is generally boring and anyone in the automation team can say amen to the fact that staring at a non saucy and tedious CLI can be a tad bit unproductive. Here is my bit to make the terminal a colourful play ground, at least, in the terms of autocompletion behaviour which is more or less non existent in the traditional command line tools provided by our dear Android team.

The script uses the prompt-toolkit to implement interactive CLI experience for the user. You can check out the source code in the internal directory.

Requirements to run the script in your system

  • Make sure you follow the two blogs (links) and setup your local system accordingly.
  • You'll need to put in APKs you want to test run on (You can find the 9gag apk used in the GIFs here)
  • You'll need to run this $ sdkmanager "build-tools;30.0.2"
  • You'll need to adjust your PATH by running $ export $PATH=$PATH:~/build-tools
  • Then run $pip3 install -r requirements.txt

Demo Run [Create new AVD]

This is the demo run for creating a new Android Virtual Device. I will be making a classic android-28;google_apis;x86_64 virtual device with no modification in hardware specifications. (Check out the gifs/emuavd1.mp4 in gifs!)

CreateAVD

Autocompletion example (system image choice step)

system-image

Demo Run [Run AVD]

This is a demo run showing autocompletion feature being implemented in apk installation, avd population and synchronizing between apk calls. (Check out the gifs/emurun1.mp4 for better quality!)

RunAVD

Autocompletion example (AVD choice step)

avdchoice

Autocompletion example (APK choice step)

apkchoice


Tada! Thanks for reading the mini documentation!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.