Dart & Flutter: Setup Android emulator and Android device

by Dec 15, 2019Mobile Apps

Home 9 Development 9 Mobile Apps 9 Dart & Flutter: Setup Android emulator and Android device

Application development is not possible without testing. For mobile development there are two primary possibilities – test the application on a mobile device with Android or using Android emulator.

If you have an Android device (especially the one for which you are developing) it’s usually better to work with this device; however, in many cases, we do not have such opportunity hence we use emulators.

Using Android Mobile Device

To use your own device you have to allow USB debugging (https://developer.android.com/studio/debug/dev-options), connect the device to the computer and authorize your computer to access the device.

Using Android Emulator

Android emulator is a great tool for developing mobile apps; however, the most problematic part is that, like any other emulator, needs a lot of system resources.

How to set up

  1. Enable VM acceleration on your machine (if possible).
  2. Open “Android Studio”, click on the “AVD Manager” (under “Configure”) and select “Create Virtual Device…”.
  3. Choose a device that you want (or that is the most similar to the one you want). In case you need a different device setting, you can use “New Hardware profile” that allows defining configuration manually. For example, as I’m currently working with two devices (Honeywell ScanPal EDA51 and CipherLab RK25) which both have a different configuration from all presets, I had to configure emulators manually.
  4. Choose a system image for the Android version you want to emulate.
  5. Verify setting and continue with “Finish”.

Recent Articles from the category

BC TechTalk TODAY!

Finally, it is here! Another conference about Business Central is here and due to COVID-19, it's online and totally free. Check all amazing sessions from best speakers from the Business Central world. The agenda is on the web HERE. And if you are interested in mobile...

read more

Dart & Flutter: Use of REST GET method

This chapter we will continue with the project that we created before. The project could be found on GitHub. Now when we have a runnable app with homepage and standardized navigation, we can look on how to load data using REST. We will start with the basic example of...

read more

Dart & Flutter: Project Initialization

We have already prepared development environment and Android Emulators in previous articles. In this chapter, we will look at how to create a new project and on the generated files. To start with, open Visual Studio Code (or any other support development environment)...

read more

Dart & Flutter: What is it?

As from my point of view, the original mobile app for Microsoft Dynamics 365 Business Central is not suitable for some industries, especially when there are some requests on special behaviour (such as automation, bar code scanning & automation or special system...

read more

Sign Up for News

Certifications

Highest certification
Microsoft Data Management and
also in D365 Business Central

Microsoft Certified: Dynamics 365 Business Central Functional Consultant Associate

See other certifications here