The newest Android O Developer Preview is now available for the public to try. As the obvious name verifies, this early build of upcoming Android O, the successor to Android Nougat, is only meant for testing purposes. There are two main ways of trying Android O at this time. One being, flashing it on actual hardware and the other, less intrusive, is trying it on your computer. We have had Android Studio as the lead IDE for Android development for some while now. It was only logical Google used the new and improved emulator to showcase Android O. In this guide, we will show you how to setup Android O Developer Preview on your Android Studio Emulator. You first need to have Android Studio 2.4 setup. For those looking to setup only the Android Studio, please read our following guide: How to Install and Setup Android Studio 2.4 Preview 7. Once installed, you will be able to try out Android O Developer Preview straight through your PC and test apps on it. It won’t be as feature packed as a Nexus device running Android O but it will get the job done. Read below on finding out how to set up and run Android O Developer Preview Emulator on Android Studio.
This guide will apply to the preview version of Android Studio — which is Android Studio 2.4 Developer Preview 7 at the time of writing. You will not be able to try out Android O Developer Preview with Android Studio 2.3.2, the last stable release so far. Google has made quite a lot of improvements to its computer emulator. It now boasts amazing boot time speeds as well as an intuitive design compared with the old-school emulator Google ran for the past years.
It is essential you have a working installation of Android Studio. You should also update your Java install to the latest to avoid any issues. Also, if you haven’t yet installed Android Studio or set it up, please read the following tutorial.
How to Set Up and Install Android O Developer Preview Emulator
As mentioned earlier, this post implies that you have already installed and set up Android Studio on your computer. If you haven’t please read the following guide:
Step 1 – Open your Android Studio installation. You can execute the emulator by creating a new Android Development project and entering the Development Environment itself. Otherwise, open any project you are currently working on. From the main view go to Tools > Android > AVD Manager.
Step 2 – The next step is creating a new Virtual Device for Android O Developer Preview specifically. In AVD manager, you will be able to see all your Virtual installations. Just click the “Create Virtual Device” button below.
Step 3 – Next, you will need to decide what device you want to emulate. As we want the latest Android O Developer Preview running on our PC, we will choose Pixel. You can also choose Nexus 5X or Nexus 6P. Once selected, click Next.
Step 4 – The following screen will be showed once you click next from above step. This is where you decide what version of Android you want to run on your selected device. Choose “O” and make sure the API Level is O then click finish.
Step 5 – Now your Android Studio will ask you to agree to its license policy and then begin downloading as well as extracting the selected image. Select “Accept” and then click “Next“. Wait till the download and extraction process finishes before proceeding to the next step.
Step 6 – Once the extraction and download process finishes, click on “Finish“.
Next, let’s set up the Android emulator to actually run Android O Developer Preview on your computer. The next part continues on Page 2.