-
Notifications
You must be signed in to change notification settings - Fork 31
[Xamarin.Android.Tools.AndroidSdk] Update SDK component for API-31 #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The latest version the SDK repo has appears to be beta4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we can just put a NDK 22.x for now?
|
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
d53c0b5
Compare
|
Updated to prefer NDK 22.1.7171670, which is shown in #134 (comment) |
|
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.