* What went wrong: A problem occurred configuring project ':react-native-reanimated'. > com.android.builder.sdk.LicenceNotAcceptedException: Failed to install the following Android SDK packages as some licences have not been accepted. ndk;23.1.7779620 NDK (Side by side) 23.1.7779620 To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager. All licenses can be accepted using the sdkmanager command line tool: sdkmanager.bat --licenses Or, to transfer the license agreements from one workstation to another, see https://developer.android.com/studio/intro/update.html#download-with-gradle
> Configure project :react-native-reanimated Warning: Still waiting forpackage manifests to be fetched remotely. Checking the license forpackageNDK(Side by side)23.1.7779620 in /Users/net.cctv3.i/Library/licenses Warning: License forpackageNDK(Side by side)23.1.7779620 not accepted.
// We use NDK 23 which has both M1 support and is the side-by-side NDK version from AGP. // ndkVersion = "23.1.7779620" // 默认--> 家里 ndkVersion = "26.1.10909125"// 公司打包用
看一下自己的机器上有什么版本,
net.cctv3.i@StationChnqoo ndk % cd /Users/net.cctv3.i/Library/Android/sdk/ndk net.cctv3.i@StationChnqoo ndk % ls 25.1.893739326.1.1090912527.0.12077973