Table of contents
1.
Introduction
2.
Android Emulator
2.1.
Requirements for Android Emulator
2.2.
Installing the android emulator
2.3.
Requirements needed to run an AR app 
3.
Install Android Studio and SDK tools for ARcore
4.
Run an Android app in the emulator
5.
FAQs
5.1.
What kind of SDK do I need for the Android emulator?
5.2.
How to run AR apps in an Android emulator?
5.3.
Are there any mobile apps that use AR?
6.
Conclusion
Last Updated: Mar 27, 2024
Easy

Running AR Apps in Android Emulator

Career growth poll
Do you think IIT Guwahati certified course can help you in your career?

Introduction

AR, which stands for Augmented Reality, provides a user with an eye-popping 3D view experience. AR-related apps improve user engagement and enhance the user's experience more vividly and directly. Aside from that, it improves consumer happiness in a variety of ways.

In this blog, we will discuss Ar apps and also have a look at how we can run AR apps in the Android Emulator. We will also discuss android emulators and how we can install them on our computers. 

Android Emulator

Android Emulator helps create an Android Virtual Device (AVD) on your computer. It can be used to run Google Play Store apps on Windows or macOS. Any Android application can be installed, used, and uninstalled in the same way as in an android device. Anyone from a gamer to an Android app developer can use it. Android developers can test apps on a single emulator by changing the device profile rather than jumping between several hardware devices.

Requirements for Android Emulator

The Android emulator requires additional system requirements and the standard system requirements for Android Studio. These prerequisites are as follows:

  • SDK Tools 26.1.1 or higher
  • 64-bit processor
  • Windows: CPU with UG (unrestricted guest) support
  • HAXM 6.2.1 or later (recommended HAXM 7.2.0 or later)

Installing the android emulator

The Android emulator is installed at the same time as the Android Studio. However, some emulator components may not be installed while installing Android Studio. Select the Android Emulator component in the SDK Tools tab of the SDK Manager to install it.

Requirements needed to run an AR app 

Install Android Studio and SDK tools for ARcore

  1. Install Android Studio 3.1 or a later version.
  2. Go to Preferences > Appearance and Behavior > System Settings > Android SDK in Android Studio.
  3. Select the SDK Platforms tab and tick the box next to Show Package Details.
  4. Select Google APIs Intel x86 Atom System Image API Level 27 or later under the relevant Android version.
  5. Add Android Emulator 27.2.9 or later to the SDK Tools tab.
  6. To install the specified packages and tools, click OK.
  7. To finalize the changes, click OK once again.
  8. Accept the Component Installer licensing agreement.
  9. Finally, click Finish.

Run an Android app in the emulator

We can launch an Android app from the Android Studio project or an app installed on the Android Emulator in the same way as we run any other app on a device.

To launch the Android Emulator and run an application from our project, follow these steps:

1. Create an Android Virtual Device (AVD) in Android Studio that the emulator can use to install and execute your app. To build a new AVD, follow these steps:

2. Launch the AVD Manager by going to Tools > AVD Manager.

  

                                                                                       Source
 

3. At the bottom of the AVD Manager window, choose to Create Virtual Device. The page Select Hardware appears next.

                                                                             Source

4. Choose a hardware profile and then press the Next button. If we do not find the hardware profile we require, we can develop or import one. The page System Image appears.

                                                                     Source

5. Click Next after selecting the system picture for the relevant API level. This opens the Verify Configuration page and after that click Finish.

                                                                         Source

6. From the drop-down option in the toolbar, select the AVD from which we want to execute our program from the target device and click Run.


 

                                                                                            Source

FAQs

What kind of SDK do I need for the Android emulator?

In Android Studio Go to Preferences > Appearance and Behavior > System Settings > Android SDK. Select the SDK Platforms tab and check the Show Package Details box. Under Android 8.1, choose Google APIs Intel x86 Atom System Image API Level 27, version 4 or later (Oreo). To the SDK Tools menu, add Android Emulator 27.2.9 or later. 

 

How to run AR apps in an Android emulator?

Select the SDK Tools tab and add Android Emulator 27.2.9 or later. To install the specified packages and tools, click OK. To finalize the changes, click OK once again. Accept the Component Installer licensing agreement. Finally, click Finish. 

 

Are there any mobile apps that use AR?

Pokemon Go may be the first thing that comes to mind when you think about AR mobile apps, but many more mobile applications make use of AR technology. Snapchat, for example, employs augmented reality to add filters and masks to the device's camera feed, while Google Translate's Word Lens function is powered by augmented reality.

Conclusion

In this blog, we have extensively discussed running Ar apps on android emulators. We have also discussed the requirements needed to run the android emulator and android studio.

We hope that this blog has helped you enhance your knowledge regarding the topic of running Ar apps on android emulators, and if you would like to learn more, check out our articles on our platform Coding Ninjas Studio. Do upvote our blog to help other ninjas grow. 

For peeps out there who want to learn more about Data Structures, Algorithms, Power programming, JavaScript, or any other upskilling, please refer to guided paths on Coding Ninjas Studio. Enroll in our courses, go for mock tests and solve problems available and interview puzzles. Also, you can put your attention towards interview stuff- interview experiences and an interview bundle for placement preparations.

Happy Coding!

Live masterclass