Institute of Computer Science
  1. Courses
  2. 2021/22 fall
  3. Mobile Computing and Internet of Things (LTAT.06.009)
ET
Log in

Mobile Computing and Internet of Things 2021/22 fall

  • Main
  • Lectures
  • Labs
  • Homeworks & Assignments
  • Results
  • Task submission
  • Extra Materials
  • Best Practices
  • Projects
    • Teams & Topics
    • Presentations & Report

Setting up Android Studio and Emulator

The below procedure is also demonstrated in this video

1. Install Android Studio

  • Download and Install Android Studio from https://developer.android.com/studio/install .
    • During install, follow the default options.
    • Android virtual devices rely on virtualization technology of your CPU. It may be disabled on your machine. You can check if it's enabled on Windows, by for example opening Task Manager (Ctrl+Shift+Esc) -> Performance -> Click on CPU, and see "Virtualization" option displays Enabled.
    • If it's disabled, you have to boot into the BIOS of your machine and enable it in BIOS settings

2. Create an Android Virtual Device ( Emulator )

  • Once setup is finished, launch Android Studio and open the Android Virtual Device Manager (AVD) as shown below:
  • Create a new virtual device (default Pixel 2 is OK), click Next, and select a System Image, you will need to download it. Choose Android R (API Level 30):
    • You may see errors/warnings about missing Intel HAXM, follow instructions to install it. If you have and AMD processor, you need to install the corresponding Hypervisor Driver instead
    • If you have errors installing Intel HAXM on Windows, also make sure Hyper-V is disabled

3. Create a new project

The first time you create a new project, various Gradle-related files & dependencies are downloaded. So the very first project build will be slow.

  • Create a new Project with an Empty / Blank activity.
  • If your managed to create the virtual device, try running the project, you should see a Hello World! App launch after the project is built.
  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment