Before we setup Android and Devices, you must download the most recent Java Development Kit (JDK) on your system. This is because the JDK will help you to ‘call’ Java commands in Android.

Installing the Java Development Kit (JDK)

You can refer to the earlier blog: How to Install and Execute Java and then Configure Maven on Windows Machine? to install and execute Java.

Installing Android Studio

Android Studio is a complete package, which includes the Integrated Development Environment (IDE) and the Android Development Kit (SDK) that are required to create Android software.

  1. Download and install Android studio in your system from the mentioned link: https://developer.android.com/studio/
  1. After installation is successful, you should see the Android folder that is created under your user directory. C:\Users\{UserName}\AppData\Local\Android\sdk.
  1. Setup “AndroidSDK“ path into “ANDROID_HOME” path and also “AndroidSDK\platform-tools” and “AndroidSDK\tools” into path system variable as mentioned in below:

          Note: Follow similar steps as done for setting Java and Maven.

  1. Check whether Android has been successfully installed on the system or not by running the following command from the command prompt:

adb version

Installing Devices

Firstly enable the developer option in your device and then follow the below-mentioned steps. The steps are written considering the Redmi phone.

  1. In your Redmi phone, find and launch the Settings app.
  2. Tap General settings.
  3. Select About phone.
  4. Tap on Android version 7 times.
  5. Once you reach the 7th time, you’ll see the “You are now a developer” message appears on the screen.
  6. Once turned on, you can tap Developer options on the General Settings screen to access a list of options which deemed to be mainly useful to the developers.
  7. Connect the device with your system and install the
  8. Check whether everything was setup successfully or not by running the following command from the command prompt:

adb devices

Mirroring your Device with the System
  1. Download Android screen monitor jar file from the link: https://code.google.com/archive/p/android-screen-monitor/downloads
  2. Connect your device with the system.
  3. Open Android mirror jar file to see your device listed.

  1. Select the device and click the OK button to see the screen.

Note: When members are remotely connected, you can mirror your device screen with the help of ASM, so that when you share the desktop screen all can see the screen.

Leave a comment

Your email address will not be published. Required fields are marked *