Closed peter-jozsa closed 3 years ago
Manually downloading it from https://dl.google.com/android/repository/android-ndk-r21-darwin-x86_64.zip
and extracting it to ~/.turtle/androidDependencies/sdk/ndk/21.0.6113669
solved the problem.
This should be fixed in the latest turtle-cli - 0.18.1
. Sorry for the inconvenience.
@peter-jozsa Let me know if this is still an issue for you.
I upgraded to 0.18.1 and removed my manually installed 21.0.6113669 NDK and started a build. It seems to work now, thanks for your quick assistance.
Same error for me. I have upgraded to 0.18.1 but on the path ".turtle/androidDependencies/sdk/ndk" I can see only the dir "17.2.4988734"
The fix @dsokal implemented forces gradle to use the installed 17.2.4988734
version of NDK. Your problem still exists after upgrading to 0.18.1 of tutle-cli?
The fix @dsokal implemented forces gradle to use the installed
17.2.4988734
version of NDK. Your problem still exists after upgrading to 0.18.1 of tutle-cli?
yes
Expo CLI 3.27.12 environment info:
System:
OS: Linux 5.4 Ubuntu 20.04 LTS (Focal Fossa)
Shell: 5.0.17 - /bin/bash
Binaries:
Node: 10.19.0 - /usr/bin/node
Yarn: 1.22.10 - /usr/local/bin/yarn
npm: 6.14.8 - /usr/local/bin/npm
npmPackages:
expo: ^39.0.3 => 39.0.3
react: 16.13.1 => 16.13.1
react-dom: 16.13.1 => 16.13.1
react-native: https://github.com/expo/react-native/archive/sdk-39.0.0.tar.gz => 0.63.2
npmGlobalPackages:
expo-cli: 3.27.12
Expo Workflow: managed
I have resolved !
I have forgotten to update an env variable on my ci script:
turtle setup:android --sdk-version ${EXPO_SDK_VERSION}
Now with EXPO_SDK_VERSION=39.0.0 all works fine.
Thank you.
New Issue Checklist
yarn global add turtle-cli
ornpm install --global turtle-cli
).Issue Description
After upgrading our app to SDK39 turtle-cli fails to build it for Android. From the log output I think gradle misses version 21 of NDK.
Command executed
Complete output when running turtle, including the stack trace and command used
Environment