From 5935ef0c7e74cc4f6375545a92096ee12ca4677f Mon Sep 17 00:00:00 2001 From: Dean Ellis Date: Fri, 15 Mar 2019 09:49:31 +0000 Subject: [PATCH] [Xamarin.Android.Build.Tools] Bump android Tools versions. Fixes #2433 We should be using the latest versions of the android tooling if possible. If we can we should try to match the major version with the max API level we support. In this case we are on Android P, API Level 28. So we should be using the 28.x.x versions of the tooling. Since not all of the tools have a 28.x.x version, in those cases we should just use the very latest. --- Documentation/workflow/HowToAddNewApiLevel.md | 13 +++++++++++++ .../Xamarin.Android.Common.props.in | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/Documentation/workflow/HowToAddNewApiLevel.md b/Documentation/workflow/HowToAddNewApiLevel.md index 15ba32ec251..995fd59b2c2 100644 --- a/Documentation/workflow/HowToAddNewApiLevel.md +++ b/Documentation/workflow/HowToAddNewApiLevel.md @@ -76,3 +76,16 @@ Enumification work can be delayed and only the final API has to be enumified. Note that there are documented and undocumented XML nodes, and we don't have to deal with undocumented ones. Android P introduced no documented XML artifact. + +7) Update Android Tooling Versions + +These sre located in [Xamarin.Android.Common.props.in](../../src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.props.in). The following MSBuild properties need to be updated to ensure +the latest tool versions are being used. + +`AndroidSdkBuildToolsVersion` +`AndroidSdkPlatformToolsVersion` +`AndroidSdkToolsVersion` + +The major version should match the new API level. For Android P this will be 28.x.x . If a version which exactly matches the API Level is not available then the latest version should be used. + + diff --git a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.props.in b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.props.in index 9005faa92ed..1a59ad3ed33 100644 --- a/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.props.in +++ b/src/Xamarin.Android.Build.Tasks/Xamarin.Android.Common.props.in @@ -13,8 +13,8 @@ UpdateGeneratedFiles True False - 27.0.3 - 27.0.1 + 28.0.3 + 28.0.0 26.1.1 16.1 @BUNDLETOOL_VERSION@