Giter Site home page Giter Site logo

andytools.js's Introduction

scripts

Shell scripts to help work with Android device

STEP-1: Download or Clone the repo in your local machine

STEP-2: Edit the PATH variables

  1. Open the environment variables file
  • For Linux/Mac (Unix based), edit the bash profile file

    • In Linux: vi ~/.bashrc
    • In Mac OSX: vi ~/.bash_profile
  • For Windows, edit the environment variables based

    • Click Start (Orb) menu button
    • Right click on Computer icon
    • Click on Properties. This will bring up System window in Control Panel
    • Click on Advanced System Settings on the left. This will bring up the System Properties window with Advanced tab selected
    • Click on Environment Variables button on the bottom of the dialog. This brings up the Environment Variables dialog
    • In the System Variables section (or User variables if system variables is uneditable), scroll down till you see Path
    • Click on Path to select it, then the Edit button. This will bring up the Edit System Variable dialog
    • While the Variable value field is selected, press the End key on your keyboard to go to the right end of the line, or use the arrow keys to move the marker to the end
  1. Add/append the following adb paths ( Make sure to use your sdk path for ANDROID_HOME below )
  • For Linux / Mac (Unix based)

export ANDROID_HOME=~/Setup/android/sdk <- Enter the Android sdk path in your machine

export ANDROID_TOOLS=${ANDROID_HOME}/tools
export ANDROID_PTOOLS=${ANDROID_HOME}/platform-tools
export ANDROID_BTOOLS=${ANDROID_HOME}/build-tools/26.0.0 <- Check and add the actual builds-tools subfolder
export PATH=${PATH}:$ANDROID_HOME:$ANDROID_TOOLS:$ANDROID_PTOOLS:$ANDROID_BTOOLS:$ANDROID_TOOLS/bin

  • For Windows

-- Add these variables

Variable name: ANDROID_HOME
Variable value: %USERPROFILE%\AppData\Local\Android\Sdk

Variable name: ANDROID_TOOLS
Variable value: %ANDROID_HOM%\tools

Variable name: ANDROID_PTOOLS
Variable value:%ANDROID_HOM%\platform-tools

Variable name: ANDROID_BTOOLS
Variable value:%ANDROID_HOM%\build-tools\26.0.1

-- Edit the PATH variable and add
%ANDROID_HOME%
%ANDROID_TOOLS%
%ANDROID_PTOOLS%
%ANDROID_BTOOLS%

  1. Save and close

  2. Then run

  • In Linux: source ~/.bashrc
  • In MaxOSX: source ~/.bash_profile
  • In Windows: May be restart the system
  1. Close all the existing terminals and reopen

STEP-3: Setup your test environments:

  • Open the mySetup.txt under "library" folder
  • Search for "myShellScripts" variable and set it with the path that the scripts are present
  • Search for "myProjDir" variable and set it with your system test folder path (include the complet path inside quotes)

andytools.js's People

Contributors

sujaydavalgi avatar

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.