As you adjust the device, the Resulting values fields change accordingly. These are the values that an app can access. For more information about these sensors, see Sensors overview , Motion sensors , and Position sensors.
The emulator can simulate various position and environment sensors. It lets you adjust the following sensors so you can test them with your app:. For more information about these sensors, see Sensors overview , Position sensors , and Environment sensors. For more information, see Using the emulator with a proxy. This is equivalant to the -gpu command line option. Autodetect based on host : Let the emulator choose hardware or software graphics acceleration based on your computer setup.
SwiftShader : Use SwiftShader to render graphics in software. This option is typically the fastest. However, some drivers have issues with rendering OpenGL graphics, so it might not be a reliable option. For the shortcuts to work, the Send keyboard shortcuts option in the General settings pane must be set to Emulator controls default. To file a bug against the emulator, click Send feedback.
For more information, see how to report emulator bugs. Compare the latest available emulator version with your version to determine if you have the latest software installed. You can disable Wi-Fi in the emulator by running the emulator with the command-line parameter -feature -Wifi.
Content and code samples on this page are subject to the licenses described in the Content License. Android Studio. Download What's new User guide Preview. Meet Android Studio. Manage your project. Write your app. Build and run your app. Run apps on the emulator. Run apps on a hardware device. Configure your build. Optimize your build speed. Debug your app. Test your app. Profile your app. Android Studio profilers. Profile CPU activity. Benchmark your app. Measure performance. Publish your app.
Command line tools. Android Developers. Watch the following video for an overview of some emulator features. Requirements and recommendations The Android Emulator has additional requirements beyond the basic system requirements for Android Studio , which are described below: SDK Tools 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. 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.
Double-click an AVD, or click Run. The Android Emulator loads. Run the Android Emulator directly in Android Studio Run the Android Emulator directly in Android Studio to conserve screen real estate, to navigate quickly between the emulator and the editor window using hotkeys, and to organize your IDE and emulator workflow in a single application window. Start your virtual device using the AVD Manager or by targeting it when running your app.
Limitations Currently, you can't use the emulator's extended controls when it's running in a tool window. Snapshots A snapshot is a stored image of an AVD Android Virtual Device that preserves the entire state of the device at the time that it was saved — including OS settings, application state, and user data. Save Quick Boot snapshots When you close an AVD, you can specify whether the emulator automatically saves a snapshot when you close. To control this behavior, proceed as follows: Open the emulator's Extended controls window.
In the Snapshots category of controls, navigate to the Settings tab. Use the Auto-save current state to Quickboot drop-down menu to select one of the following options: Yes : Always save an AVD snapshot when you close the emulator.
No : Don't save an AVD snapshot when you close the emulator. Delete a snapshot To manually delete a snapshot, open the emulator's Extended controls window, select the Snapshots category, select the snapshot, and click the delete button at the bottom of the window. Load a snapshot To load a snapshot at any time, open the emulator's Extended controls window, select the Snapshots category, choose a snapshot, and click the load button at the bottom of the window. Select Cold boot.
Snapshot requirements and troubleshooting Snapshots do not work with Android 4. Snapshots do not work with ARM system images for Android 8. Snapshots are not reliable when software rendering is enabled. Loading or saving a snapshot is a memory-intensive operation. If you do not have enough RAM free when a load or save operation begins, the operating system may swap the contents of RAM to the hard disk, which can greatly slow the operation.
If you experience very slow snapshot loads or saves, you may be able to speed these operations by freeing RAM. Closing applications that are not essential for your work is a good way to free RAM. Navigate the emulator screen Use your computer mouse pointer to mimic your finger on the touchscreen; select menu items and input fields; and click buttons and controls.
Table 1. Gestures for navigating the emulator Feature Description Swipe the screen Point to the screen, press and hold the primary mouse button, swipe across the screen, and then release. Drag an item Point to an item on the screen, press and hold the primary mouse button, move the item, and then release.
Tap touch. Pressing Control Command on Mac brings up a pinch gesture multi-touch interface. The mouse acts as the first finger, and across the anchor point is the second finger.
Drag the cursor to move the first point. Clicking the left mouse button acts like touching down both points, and releasing acts like picking both up. Point to the screen, press and hold the primary mouse button, swipe across the screen, and then release. Point to an item on the screen, press and hold the primary mouse button, move the item, and then release.
Point to the screen, press the primary mouse button, and then release. For example, you could click a text field to start typing in it, select an app, or press a button. Point to an item on the screen, press the primary mouse button, hold, and then release. For example, you could open options for an item. You can type in the emulator by using your computer keyboard, or using a keyboard that pops up on the emulator screen.
For example, you could type in a text field after you selected it. Open a vertical menu on the screen and use the scroll wheel mouse wheel to scroll through the menu items until you see the one you want. Click the menu item to select it. Resize the emulator as you would any other operating system window. The emulator maintains an aspect ratio appropriate for your device. Volume up. Click to view a slider control and turn the volume up. Click again to turn it up more, or use the slider control to change the volume.
Volume down. Click to view a slider control and turn the volume down. Click again to turn it down more, or use the slider control to change the volume. Rotate left. Rotate right. Take screenshot. Click to take a screenshot of the device. Step 1: You can configure a number of things to make the experience of MEmu, the way you want it. On this tab, you can set the number of CPU cores, which can be used by MEmu, the resolution of the screen, the frame rate, graphics mode, and language.
I will not recommend you to change the settings unless you face problems with the existing configuration. You can set the device model to a few other models. The app also has a virtual phone number, IMEI, and Telecom operator, which might be helpful for some guys.
With the shortcuts tab, you can even configure the shortcuts to zoom in and out, to get full screen, shake your device virtually, and many others. It can be handy if you are playing games, or just want to become a keyboard master on MEmu. Just like other Android emulators, you can even get key mapping, which can be helpful for gaming. Just assign the keys to certain areas on the screen, and on pressing those keys, you can get the same activity, which you can get by tapping on that area of the screen.
You can also install different apps from PC to Android, instead of downloading them from the Play Store. It will be pretty handy, if you have a number of APK files on your hard drive, as a backup. Other features of MEmu include virtual GPS simulation, shared folder for music files, video files, download, etc.
Yes, you got it right. Start recording the gameplay of your favorite games, with the screen recording tool on MEmu.
With the help of the Multi-MEmu option, you can clone your MEmu image, store it as a zip file, and even import other MEmu images, if you have kept a backup of your old image. If you are looking for ways to install mobile apps on the computer, I will recommend MEmu, instead of other emulators, as MEmu Emulator is quite stable, and the backup feature helps me a lot to back up the complete image, and restore the same later, whenever necessary.
Find centralized, trusted content and collaborate around the technologies you use most. Connect and share knowledge within a single location that is structured and easy to search. I am completely new to using Android Studio and I am trying to install the Google Play app on the emulator.
I would now like to install the Google Play application on my emulator. How can this be done? Any suggestions or a solution itself would be most appreciated. Also, thank you very much for your time. Starting with Android Studio 3. After a long while of testing, everything seems to be outdated.
I installed the first device and the second device with the same Android version, and used one profile from Samsung because my tablet is a Samsung. Download Google apps GoogleLoginService. Refer: to this SO Post. There will be a question asking you to custom profile, say yes, then an asking to install CH Play or not, just type yes. Stack Overflow for Teams — Collaborate and share knowledge with a private group.
Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. How to install Google Play app in Android Studio emulator? Ask Question. Asked 6 years, 9 months ago. Active 4 months ago. Viewed k times. Improve this question.
0コメント