Uh oh!
There was an error while loading. Please reload this page.
[Xamarin.Android.Tools.AndroidSdk] Update SDK component for API-31 - #134
Conversation
| <AndroidSdkPlatformVersion Condition="'$(AndroidSdkPlatformVersion)' == ''">android-30</AndroidSdkPlatformVersion> | ||
| <AndroidNdkVersion Condition="'$(AndroidNdkVersion)' == ''">21.3.6528147</AndroidNdkVersion> | ||
| <AndroidSdkPlatformVersion Condition="'$(AndroidSdkPlatformVersion)' == ''">android-31</AndroidSdkPlatformVersion> | ||
| <AndroidNdkVersion Condition="'$(AndroidNdkVersion)' == ''">23.0.7599858</AndroidNdkVersion> |
There was a problem hiding this comment.
It appears the Google repository manifest is out of date and it doesn't have the released version of the NDK.
There was a problem hiding this comment.
The latest version the SDK repo has appears to be beta4
There was a problem hiding this comment.
Maybe we can just put a NDK 22.x for now?
grendello
commented
Sep 15, 2021
I don't think we can merge until Google will have updated their manifest. |
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 [dotnet/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]: http://github.com/xamarin/xamarin-android/commit/f361d997807504a69c29163811f362da701410b6
dcfe31f to
d53c0b5Comparejonpryor
commented
Sep 15, 2021
Updated to prefer NDK 22.1.7171670, which is shown in #134 (comment) |
grendello
commented
Sep 15, 2021
It appears Google changed the NDK component name in the SDK manifest. It used to be |

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:
$(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.7171670Note: there is an NDK r23 package in
ndk;23.0.7599858, andxamarin-android supports NDK r23 as of
xamarin/xamarin-android@f361d997, 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-bundlepackage is 22.1.7171670.Additionally, the Android SDK
toolscomponent has beendeprecated since 2017-Sep. Add a comment noting that
$(AndroidSdkToolsVersion)should be considered obsolete, and thatwe should eventually remove it.