-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[all OSs] Android NDK 21 will be replaced in favor of 25 on August, 1st #5930
Comments
We had no notice of this change at Mojang, and only learned of it today. We very strongly suggest delaying it two weeks so that we can prepare for it. |
@chrisbehanna you can install NDK 21 in runtime. Please see 'Mitigation ways' section in the announcement, above. |
Is there a way, to use an Image from before this change? |
Before this change the android build started failing with gomobile: ANDROID_NDK_HOME specifies /usr/local/lib/android/sdk/ndk/25.0.8775105 which is unusable: unsupported API version 16 (not in 19..33) This was caused by a change to github actions, but is ultimately due to an issue in gomobile. See: actions/runner-images#5930 See: lightningnetwork/lnd#6651
No, but you can still install r21 in runtime as described, it is the only possible solution. |
Before this change the android build started failing with gomobile: ANDROID_NDK_HOME specifies /usr/local/lib/android/sdk/ndk/25.0.8775105 which is unusable: unsupported API version 16 (not in 19..33) This was caused by a change to github actions, but is ultimately due to an issue in gomobile with the newest version of the SDK. This change fixes the problem by declaring a minimum API version of 21 and using version 21 compilers to build everything and using the default NDK in github actions. See: actions/runner-images#5930 See: lightningnetwork/lnd#6651
Before this change the android build started failing with gomobile: ANDROID_NDK_HOME specifies /usr/local/lib/android/sdk/ndk/25.0.8775105 which is unusable: unsupported API version 16 (not in 19..33) This was caused by a change to github actions, but is ultimately due to an issue in gomobile with the newest version of the SDK. This change fixes the problem by declaring a minimum API version of 21 and using version 21 compilers to build everything and using the default NDK in github actions. See: actions/runner-images#5930 See: lightningnetwork/lnd#6651
NDK r21 is no longer provided by default on GitHub Actions. actions/runner-images#5930
Before this change the android build started failing with gomobile: ANDROID_NDK_HOME specifies /usr/local/lib/android/sdk/ndk/25.0.8775105 which is unusable: unsupported API version 16 (not in 19..33) This was caused by a change to github actions, but is ultimately due to an issue in gomobile with the newest version of the SDK. This change fixes the problem by declaring a minimum API version of 21 and using version 21 compilers to build everything and using the default NDK in github actions. See: actions/runner-images#5930 See: lightningnetwork/lnd#6651
NDK r21 is no longer provided by default on GitHub Actions. actions/runner-images#5930
actions/runner-images#5930 recently updated the NDK version, resulting in test breakages. Update the version.
Hi I am trying to run ndk 21.3.6528147 on iOS macOS-11 and I followed the mitigation ways but still getting this error when I am trying to access android.ndkDirectory in gradle. NDK is not installed Can you help what am I missing here is my install ndk Job steps
|
@tabishhussain63 if you'd like to set env variables you need to do it another way ANDROID_NDK="/usr/local/lib/android/sdk/ndk/21.3.6528147"
echo "##vso[task.setvariable variable=ANDROID_NDK]$ANDROID_NDK" and in the subtasks, the variable will be overridden by the new one. |
On Ubuntu 20.04 virtual images, the documentation mentions 25.0.8775105 is installed still every other run, it's 25.1.8937393 instead. I assume this is not on purpose? |
@m-kuhn this is the new image that is being deployed. We are going to finish the deployment and update the documentation today. |
Breaking changes
NDK r21 will be replaced by NDK r25
Target date
The propagation is starting on August, 1st and will take 2-3 days
The motivation for the changes
We are replacing r21 with r25 as we support two latest LTS versions according to our Software and image guidelines(we support 1 latest non-LTS and 2 latest LTS versions of NDK)
Possible impact
If your project depends on NDK r21 it can be broken
Platforms affected
Virtual environments affected
Mitigation ways
The text was updated successfully, but these errors were encountered: