Skip to content

Commit e44eb47

Browse files
NickGerlemanfacebook-github-bot
authored andcommitted
Use modern Android libc++ in Yoga and React Native OSS (#39795)
Summary: Pull Request resolved: facebook/react-native#39795 X-link: facebook/yoga#1412 Android NDK 25 uses a version of libc++ that is more than three years old, missing a lot of basic features of C++ 20. This is rectified in NDK 26 (latest LTS NDK), which brings us up to date with latest Clang (17, released this year), and adds a new policy where future NDK versions will bump libc++ as part of bumping LLVM/Clang. This requires an a beta AGP version (and corresponding Android Studio Preview). Based on how far we are historically, it wouldn't be a surprise if we see the stable release this month (well before the RN 0.74/Yoga 3.0 cut, even in the worse case). Changelog: [Android][Changed] - Use NDK 26 Reviewed By: yungsters Differential Revision: D49895949 fbshipit-source-id: 37bb4d1fdf81137be7f14f6675b4e079c6f861e4 Original: facebook/react-native@9ce7b56
1 parent f07603c commit e44eb47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

template/template/android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
minSdkVersion = 23
77
compileSdkVersion = 34
88
targetSdkVersion = 34
9-
ndkVersion = "25.1.8937393"
9+
ndkVersion = "26.0.10792818"
1010
kotlinVersion = "1.8.0"
1111
}
1212
repositories {

0 commit comments

Comments
 (0)