You can also drag one or more APKs onto the emulator to install them, and then run them. 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.
To run the emulator in Android Studio, make sure you're using Android Studio 4. Currently, you can't use the emulator's extended controls when it's running in a tool window.
If your development workflow depends heavily on the extended controls, continue to use the Android Emulator as a standalone application. In addition, certain virtual devices—such as Android TV and foldable devices—can't be run in Android Studio because they have specialized UI requirements or important functions in the extended controls.
An APK Installer dialog appears. When the installation completes, you can view the app in your apps list. To add a file to the emulated device, drag the file onto the emulator screen.
You can view the file from Android Studio using the Device File Explorer , or find it from the device using the Downloads or Files app, depending on the device version. 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.
You can return to a saved system state by loading a snapshot whenever you choose, saving you the time of waiting for the operating system and applications on the virtual device to restart, as well as saving you the effort of bringing your app back to the state at which you want to resume your testing.
Starting a virtual device by loading a snapshot is much like waking a physical device from a sleep state, as opposed to booting it from a powered-off state. The simplest way to take advantage of snapshots is to use Quick Boot snapshots: By default, each AVD is set to automatically save a Quick Boot snapshot on exit and load from a Quick Boot snapshot on start.
The first time that an AVD starts, it must perform a cold boot , just like powering on a device. If Quick Boot is enabled, all subsequent starts load from the specified snapshot, and the system is restored to the state saved in that snapshot.
Snapshots are valid for the system image, AVD configuration, and emulator features with which they are saved. When you make a change in any of these areas, all snapshots of the affected AVD become invalid. Most controls for saving, loading, and managing snapshots are in the Snapshots and Settings tabs in the Snapshots pane in the emulator's Extended controls window.
You can also control the Quick Boot options when starting the emulator from the command line. 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:. 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.
This is the default. Your selection applies only to the AVD that is currently open. To save a general snapshot, open the emulator's Extended controls window, select the Snapshots category, and click the Take snapshot button in the lower-right corner of the window.
To edit the name and description of the selected snapshot, click the edit button at the bottom of the window. 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. You can also specify whether you would like the emulator to automatically delete snapshots when they become invalid, such as when the AVD settings or emulator version change.
By default, the emulator will ask you if you'd like for it to delete invalid snapshots. You can change this setting with the Delete invalid snapshots menu in the Settings tab of the Snapshots pane. 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.
In Android Studio 3. Use your computer mouse pointer to mimic your finger on the touchscreen; select menu items and input fields; and click buttons and controls.
Use your computer keyboard to type characters and enter emulator shortcuts. To perform common actions with the emulator, use the panel on the right side, as described in table 2.
You can use keyboard shortcuts to perform many common actions in the emulator. To pan in zoom mode, hold Control Command on Mac while pressing the arrow keys on the keyboard.
The screen recording controls are in the Screen record tab of the Extended Controls window. To begin screen recording, click the Start recording button in the Screen record tab. To stop recording, click Stop recording.
Controls for playing and saving the recorded video are at the bottom of the Screen record tab. You can also record and save a screen recording from the emulator using the following command on the command line:. To take a screenshot of the virtual device, click the Take screenshot button. By default, the screenshot is saved on your computer desktop. To change the location to which screenshots are saved, use the Screenshot save location control in the Settings category in the emulator's Extended controls window.
The emulator supports the use of basic camera functionality on your virtual device for earlier Android versions. Android 11 and higher supports the following additional Android Emulator camera capabilities:. You can use the virtual scene camera in a virtual environment to experiment with augmented reality AR apps made with ARCore. For information on using the virtual scene camera in the emulator, see Run AR apps in Android Emulator.
This feature can be used to import custom images such as QR codes for use with any camera-based app. For more information, see Add Augmented Images to the scene. You can greatly reduce the time it takes to test common AR actions by using the preset macros in the emulator. For example, you can use a macro to reset all the device's sensors to their default state. Before using macros, follow the steps in Run AR apps in Android Emulator to set up the virtual scene camera for your app, run your app on the emulator, and update ARCore.
Updated UI for recording in Memory Profiler We have consolidated the Memory Profiler user interface UI for different recording activities, such as capturing a heap dump and recording Java, Kotlin, and native memory allocations. New test matrix for multi-device testing Instrumentation tests can now run across multiple devices in parallel and can be investigated using a specialized instrumentation test results panel.
Complete release notes here. Software similar to Android Studio 5. Sublime Text 4. Sublime Text is a sophisticated text editor for code, markup and prose.
You'll love the slick user interface, extraordinary features and amazing performance. Visual Studio Developer tools and services for any platform with any language. Sign In. How to install apps on your Wear OS smartwatch Get started by following this quick and easy guide. Wareable is reader-powered. If you click through using links on the site, we may earn an affiliate commission. Learn more. Tuesday January 14, Although the process later should gracefully fail if you download the wrong version, you should still double-check that you have the right one.
Generally speaking, you can't mess it up too badly, though. If it installs, it was compatible, though you might run into some smaller issues with things like DPI. In general, all modern Android phones are arm64, and a nodpi version should work most of the time. If you're willing to trust APKMirror as a source, you can allow it. Once you've downloaded the file, you need to find a way to open it. You can tap the download notification at the bottom of the screen if you're using Chrome, for example, but you might need to tap a download notification in your status bar or navigate to where you downloaded the file with a file manager and open it manually, depending on your browser.
APKMirror Installer will feed you a pile of details regarding the app you're installing if it's an APK Bundle — your best bet is to trust the app's judgment, though you can tweak things if you run into trouble and have to reinstall later. If you're not installing an APK Bundle, you'll get a simpler prompt. Whichever you get, tap "Install app" to continue. The first time you do this, you might run into trouble. On recent versions of Android, you'll be prompted to allow the APKMirror Installer app as a source for app installations as an easy toggle visible above.
While you shouldn't enable this setting for just any app, it's okay to do it for APKMirror. But it is there to protect you from apps that might install malware. On older versions of Android Pre-Android 8. APKMirror will prepare the installation, then your phone will ask again if you'd like to install the app, with the wording varying slightly if it's an update to an existing app or a new app for your phone entirely.
List of Partners vendors. By Jerri Ledford. Jerri Ledford. Jerri L. Ledford has been writing, editing, and fact-checking tech stories since Reviewed by Ryan Perian. Tweet Share Email. Apps Best Apps Payment Services. What We Like. What We Don't Like. Was this page helpful? Thanks for letting us know! Email Address Sign up There was an error. Please try again. You're in! Thanks for signing up. There was an error. Tell us why!
0コメント