# Setting up the environment

## Installation

### Tools

* Kali Linux
* Android Studio
* Emulator
* ADB

#### Kali Linux

Current System Requirements:

* GNOME or KDE desktop Tested on Ubuntu® 12.04, Precise Pangolin (64-bit distribution capable of running 32-bit applications)
* 64-bit distribution capable of running 32-bit applications
* GNU C Library (glibc) 2.11 or later
* 2 GB RAM minimum, 8 GB RAM recommended
* 2 GB of available disk space minimum, 4 GB Recommended (500 MB for IDE + 1.5 GB for Android SDK and emulator system image)
* 1280 x 800 minimum screen resolution
* Java Development Kit (JDK) 8
* For accelerated emulator: Intel® processor with support for Intel® VT-x, Intel® EM64T (Intel® 64), and Execute Disable (XD) Bit functionality, or AMD processor with support for AMD VirtualizationTM (AMD-VTM)

#### Android Studio

* Download linux package from here : <https://developer.android.com/studio>
* Install required packages :&#x20;

  ```
  sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386 lib32z1 libbz2-1.0:i386
  ```

  &#x20;
* install Android Studio on Linux, proceed as follows:
  * Unpack the `.zip` file you downloaded to an appropriate location for your applications, such as within `/usr/local/` for your user profile, or `/opt/` for shared users.

    If you're using a 64-bit version of Linux, make sure you first install the [required libraries for 64-bit machines](https://developer.android.com/studio/install#64bit-libs).
  * To launch Android Studio, open a terminal, navigate to the `android-studio/bin/` directory, and execute `studio.sh`.
  * Select whether you want to import previous Android Studio settings or not, then click **OK**.
  * The Android Studio Setup Wizard guides you through the rest of the setup, which includes downloading Android SDK components that are required for development.

#### Android Debugging Bridge ( ADB )

* Download ADB for Kali Linux : <https://dl.google.com/android/repository/platform-tools-latest-linux.zip>&#x20;
* Or `apt install adb`&#x20;
