Update: Android 9.0 stable support is now available.
Android 9.0 (P) introduces many features such as Wi-Fi RTT(Round-Trip-Time), Display cutout support, Notification enhancements, Multi-camera support, and much more.
We’re excited to announce Xamarin.Android support for Android 9.0 (P) in our latest preview release of Xamarin.Android for both Visual Studio 2017 and Visual Studio for Mac.
Installing Xamarin.Android for Android 9.0 (P)
Visual Studio 2017
- Open the Visual Studio Installer, and download the latest Visual Studio 2017Â Preview (15.8 Preview 5).
Visual Studio for Mac
- Switch the Visual Studio for Mac Update Channel to the Beta channel.
- Download Xamarin.Android 9.0.0.17 and install the update.
Both Visual Studio 2017 and Visual Studio for Mac
Install the Android P 9.0 SDK
- Visual Studio 2017, use Tools > Android > Android SDK Manager
- Visual Studio for Mac, use Tools > SDK Manager
First, make sure you are using Google’s repository within the SDK Manager to do this, click on the Gear > Repository > Google:
Install the latest Android SDK tools for API 28. This includes build-tools and platform-tools.
Once installed, you’ll be able to set your Target Framework Version to Android 9.0 (P) in your project and take advantage of the new APIs:
Learn More
For more detailed information on how to get started with Android P, please see our documentation.
Feedback
We encourage your feedback on any issues to be reported via the Report a Problem option found in your favorite IDE via Help > Report a Problem. If you have any questions regarding Android P APIs, please post them on the Xamarin Forums or Stack Overflow.
Hello. I am stuck with Visual Studio 15.4.3, since it’s the last one which have PCL project type, and this is a REALY a corner stone in my business right now, and there is additional obstacles which is making the update to higher VS version a NO-GO operation.I wonder if there is a way to use Android 9 on VS 15.4.3 ?