From d53c0b5b127e66601cdb4bc0dd6dc9d3fc12eb46 Mon Sep 17 00:00:00 2001 From: Jonathan Pryor Date: Wed, 15 Sep 2021 10:29:22 -0400 Subject: [PATCH] [Xamarin.Android.Tools.AndroidSdk] Update SDK component for API-31 Context: https://dl-ssl.google.com/android/repository/repository2-1.xml Update the preferred Android SDK component versions to the current latest versions listed in the [Android Repository file][0]: * `$(AndroidSdkBuildToolsVersion)`/build-tools to 31.0.0 * `$(AndroidCommandLineToolsVersion)`/cmdline-tools to 5.0 * `$(AndroidSdkPlatformToolsVersion)`/platform-tools to 31.0.3 * `$(AndroidSdkPlatformVersion)`/platform to android-31 * `$(AndroidNdkVersion)`/ndk-bundle to 22.1.7171670 Note: there is an NDK r23 package in `ndk;23.0.7599858`, and xamarin-android supports NDK r23 as of [xamarin/xamarin-android@f361d997][2], but that is installed into a *versioned* directory, a'la `$ANDROID_SDK_ROOT/ndk/23.0.7599858`, which (1) may not be fully supported, and (2) *isn't* supported by the Android SDK Manager. The latest `ndk-bundle` package is 22.1.7171670. Additionally, the Android SDK `tools` component has been [deprecated since 2017-Sep][1]. Add a comment noting that `$(AndroidSdkToolsVersion)` should be considered obsolete, and that we should eventually remove it. [0]: https://dl-ssl.google.com/android/repository/repository2-1.xml [1]: https://developer.android.com/studio/releases/sdk-tools [2]: https://github.com/xamarin/xamarin-android/commit/f361d997807504a69c29163811f362da701410b6 --- .../Xamarin.Android.Tools.Versions.props | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/Xamarin.Android.Tools.AndroidSdk/Xamarin.Android.Tools.Versions.props b/src/Xamarin.Android.Tools.AndroidSdk/Xamarin.Android.Tools.Versions.props index 1a304909..2cfe8e62 100644 --- a/src/Xamarin.Android.Tools.AndroidSdk/Xamarin.Android.Tools.Versions.props +++ b/src/Xamarin.Android.Tools.AndroidSdk/Xamarin.Android.Tools.Versions.props @@ -9,12 +9,14 @@ If this file is changed the submodule for androidtools should be updated, along with any other repo which references androidtools. --> - 30.0.2 - 2.1 - 30.0.4 - 26.1.1 + 31.0.0 + 5.0 + 31.0.3 - android-30 - 21.3.6528147 + android-31 + 22.1.7171670 + + + 26.1.1 \ No newline at end of file