android Launching emulator in hindi

कई प्रकार के Emulator Software आते हैं। जो एंड्रॉयड (OS)ऑपरेटिंग सिस्टम को कंप्यूटर सिस्टम में चलाने में सक्षम है। यह एम्युलेटर सॉफ्टवेयर एंड्रॉयड डिवाइस की तरह ही काम करते हैं। इसलिए इन्हें “Android Emulator” भी कहा जाता है।

Run apps on the Android Emulator

The Android Emulator simulates Android devices on your computer so that you can test your application on a variety of devices and Android API levels without needing to have each physical device.

The emulator provides almost all of the capabilities of a real Android device. You can simulate incoming phone calls and text messages, specify the location of the device, simulate different network speeds, simulate rotation and other hardware sensors, access the Google Play Store, and much more.

Testing your app on the emulator is in some ways faster and easier than doing so on a physical device. For example, you can transfer data faster to the emulator than to a device connected over USB.

The emulator comes with predefined configurations for various Android phone, tablet, Wear OS, and Android TV devices.

Watch the following video for an overview of some emulator features.

You can use the emulator manually through its graphical user interface and programmatically through the command line and the emulator console. For a comparison of the features available through each interface, see Comparison of Android Emulator tools.

Requirements and recommendations

The Android Emulator has additional requirements beyond the basic system requirements for Android Studio, which are described below:

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

The use of hardware acceleration has additional requirements on Windows and Linux:

  • Intel processor on Windows or Linux: Intel processor with support for Intel VT-x, Intel EM64T (Intel 64), and Execute Disable (XD) Bit functionality
  • AMD processor on Linux: AMD processor with support for AMD Virtualization (AMD-V) and Supplemental Streaming SIMD Extensions 3 (SSSE3)
  • AMD processor on Windows: Android Studio 3.2 or higher and Windows 10 April 2018 release or higher for Windows Hypervisor Platform (WHPX) functionality

To work with Android 8.1 (API level 27) and higher system images, an attached webcam must have the capability to capture 720p frames.

Deprecation for 32-bit Windows systems

The Android Emulator was deprecated in June 2019 for 32-bit Windows systems. Support for the 32-bit Windows emulator continues until June 2020, including critical bug fixes, but no new features will be added. If you are using the emulator on a 32-bit Windows system, you should plan to migrate to a 64-bit Windows system.

If you are using the emulator on a 32-bit Windows system, you can use the SDK Manager to install the latest version of the emulator for 32-bit Windows.

Install the emulator

To install the Android Emulator, select the Android Emulator component in the SDK Tools tab of the SDK Manager. For instructions, see Update your tools using the SDK Manager.

Android virtual devices

Each instance of the Android Emulator uses an Android virtual device (AVD) to specify the Android version and hardware characteristics of the simulated device. To effectively test your app, you should create an AVD that models each device on which your app is designed to run. To create and manage AVDs, use the Device Manager.

Each AVD functions as an independent device, with its own private storage for user data, SD card, and so on. By default, the emulator stores the user data, SD card data, and cache in a directory specific to that AVD. When you launch the emulator, it loads the user data and SD card data from the AVD directory.

Run an app on the Android Emulator

You can run an app from an Android Studio project, or you can run an app that’s been installed on the Android Emulator as you would run any app on a device.

To start the Android Emulator and run an app in your project:

  1. In Android Studio, create an Android Virtual Device (AVD) that the emulator can use to install and run your app.
  2. In the toolbar, select the AVD that you want to run your app on from the target device drop-down menu.Target device drop-down menu.
  3. Click Run .If you receive an error or warning message at the top of the dialog, click the link to correct the problem or to get more information.Some errors you must fix before you can continue, such as certain Hardware Accelerated Execution Manager (Intel HAXM) errors.For macOS, if you see a Warning: No DNS servers found error when starting the emulator, check to see whether you have an /etc/resolv.conf file. If you don’t have this file, enter the following command in a terminal window:ln -s /private/var/run/resolv.conf /etc/resolv.conf
Author: admin

Leave a Reply

Your email address will not be published.