Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Executing test case on real device does not require Android Studio.

Installing Android Studio

Multiexcerpt macro
nameCreateEmulators

In order to test Android mobile applications, you need to download Android Studio. Once Android Studio is downloaded, Qualitia users can create virtual devices / emulators and test the mobile applications using Qualitia.

You can view the detailed procedure about creating and managing Android virtual devices, click here.

To install Android Studio:

  1. Download Android Studio.
  2. Once downloaded, double-click android-studio-bundle-windows.exe.
    This will start installation of Android Studio.
  3. Follow the on-screen instructions and complete the studio installation.
  4. Select Standard Installation.

    View Image


    Android Studio is developed for Android application development. In order to get started with application testing using virtual devices, users need to have at least one project created. Once project is created, users can create and start emulators and download required platform images from the Android Studio.


  5. Once the installation is complete, launch Android Studio.
  6. Create a dummy project.
  7. From the File menu, click Settings.
  8. Under Appearance & Behavior,  expand System Settings and select Android SDK.
  9. In the right pane, select SDK Platforms.
  10. Select required packages to install and click Apply.

    View Image


    Google system images are required to create and start virtual devices (emulators). Generally, emulators created with Google APIs Intel x86 Atom System Image serve all the testing requirements, however, users can download and install any system image depending on the testing requirements.

    If you want Google Chrome in the Nougat emulator,  please select Google API as system image. Google Chrome comes as a default browser for Nougat and not for other Android operating systems. 


    System displays the list of components selected to be installed.
  11. Go to SDK Tools and ensure that Android SDK Build-Tools is installed. If not, then download it.

    View Image


  12. Click OK

  13. Once all the required components are installed, click Finish.
    Now you can start creating virtual devices.


Installing Intel® Hardware Accelerated Execution Manager (Intel® HAXM)

Note: This step is optional. However, Qualitia recommends installing Intel® HAXM for the smooth functioning of Android Virtual Devices (emulators). When installing Android Studio, it is installed automatically. However, if it is not installed when installing Android Studio, follow the steps mentioned below to install it. 

...

  1. Download Intel® HAXM.
  2. Unzip the downloaded file.
  3. Double-click the intelhaxm-android file.
    This opens Intel® Hardware Accelerated Execution Manager Setup wizard.
  4. Click Next.
    Here you can define how much system memory (RAM) you want to reserve for Intel® HAXM. By default, 2.00 GB is reserved.
  5. Change the reserved memory if required and click Next.
  6. Click Install.
  7. After successful installation, open the Command Prompt window and run the command; sc query intelhaxm.
    If State is shown as Running, Intel® HAXM is running properly.

    Expand
    titleView Image


    Note
    • When creating emulators, ensure that you have selected CPU/ABI as Intel x86 for superior performance of emulator through Intel® HAXM.
    • If you are facing any issues when installing or using Intel® HAXM, click here for troubleshooting. 


Setting Environment Variables

After you download Android Studio, you must set environment variables.

...