To work with Android O as a developer, you must install the latest preview of Android Studio 2.4. The Android tools blog has changed locations; it’s now at https://androidstudio.googleblog.com/. And, you can find extensive documentation on Android O and the Android Studio preview at https://d.android.com.
- [Instructor] To work with Android O as a developer, you have to install the latest preview of Android Studio 2.4. The Android Tools blog has changed locations. It's now at this webpage, at googleblog.com. You'll find posts here about each new milestone for Android Studio and various support libraries. You'll also find links to the software downloads at this webpage at developer.android.com/studio/preview.
You'll see a link for your operating system, but if you click on "more download options" you'll see all the available downloads. The most recent version as of this recording is Preview 3 and there are versions for Windows, Mac and Lennox. On Mac you'll get a zip file that contains an application package named Android Studio 2.4 Preview. Just drag it to the applications folder and double click to get started. There are distinct versions for 32 and 64-bit Windows. The Window zips contain many files and folders.
Extract a zip anywhere on your disk, then open the new directories bin subdirectory and double click on either studio.exe or studio4.exe. The first time you open Studio you'll be prompted to decide whether you want to copy a previous configuration. If you choose a previous config, you'll go right to the welcome screen, but if you decide to create a new configuration, you'll come to the setup wizard. I recommend using the custom install type, and then you can decide where you want to put your SDK.
If you're working on a system that you use as a production machine, I recommend keeping a separate copy of the SDK that's only used for the Preview version of Android Studio. Once you've gone through all the prompts to install the SDK, you'll end up at the welcome screen. If you see an "events" menu item here, open it and follow all the prompts to update Android Studio as suggested. Once all of your updates are complete, then go to the Android SDK manager from the configure menu.
On this screen, make sure you have the Android O Preview SDK installed. I'll click on "show package details" and show that I have the main SDK installed, but I also have the Atom system image for Android O installed. This will allow me to create and use virtual devices. Under SDK tools, I'm working with Build Tools 26-rc1, that's release candidate one. I also have the most recent version 25 Build Tools just in case I need them.
I have version 26 of the emulator, 26-rc1 of the platform tools and 26 of the SDK tools, and the new Constraint Layout library is at 1.0.2. Also, at the bottom, check the versions of your Android support repository and your Google repository. If you see any prompts to upgrade those, follow them. Once the installation and upgrade process is complete, you'll be ready to create apps for Android O.
- Installing Android Studio 2.4 Preview
- Targeting Android O in a new project
- Setting up Android O testing devices
- Exploring the new features for users
- Using display notifications in channels
- Using Autofill EditText components
- Displaying video as picture-in-picture
- Exploring other new features for developers