Skip to content
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

NDK is not installed #188

Open
singhragvendra503 opened this issue May 2, 2024 · 1 comment
Open

NDK is not installed #188

singhragvendra503 opened this issue May 2, 2024 · 1 comment

Comments

@singhragvendra503
Copy link

build command fastlane internal "package_name:myapp" "build_number:12"

Task :app:buildReleasePreBundle
Task :app:extractReleaseNativeDebugMetadata FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:extractReleaseNativeDebugMetadata'.

NDK is not installed

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 7m 23s
582 actionable tasks: 51 executed, 531 up-to-date
\e[0m
root@8547bb57c48f:/project/android# env

ANDROID_SDK_TOOLS_VERSION=4333796
HOSTNAME=8547bb57c48f
LANGUAGE=en_US.UTF-8
ANDROID_SDK_HOME=/opt/android-sdk
FLUTTER_HOME=/opt/flutter
JENV_SHELL=bash
ANDROID_NDK=/opt/android-sdk/ndk/current
PWD=/project/android
BUILD_DATE=
TZ=America/Los_Angeles
HOME=/root
LANG=en_US.UTF-8
JDK_PLATFORM=amd64
SOURCE_BRANCH=
ANDROID_NDK_HOME=/opt/android-sdk/ndk/current
ANDROID_HOME=/opt/android-sdk
TERM=dumb
SHLVL=1
SOURCE_COMMIT=
LC_ALL=en_US.UTF-8
PATH=/root/.jenv/shims:/root/.jenv/bin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/android-sdk/emulator:/opt/android-sdk/tools/bin:/opt/android-sdk/tools:/opt/android-sdk/platform-tools:/opt/android-sdk/ndk/current:/opt/flutter/bin:/opt/flutter/bin/cache/dart-sdk/bin
JENV_LOADED=1
NODE_VERSION=14.x
DEBIAN_FRONTEND=noninteractive
DOCKER_TAG=
_=/bin/env
OLDPWD=/project/

root@8547bb57c48f:/project/android# ls /opt/android-sdk/ndk/current
build CHANGELOG.md meta ndk-build ndk-gdb ndk-lldb ndk-stack ndk-which NOTICE NOTICE.toolchain package.xml prebuilt python-packages README.md shader-tools simpleperf source.properties sources toolchains wrap.sh

@singhragvendra503
Copy link
Author

I am resolving this by creating a file name local.properties and putting this content ndk.dir=/opt/android-sdk/ndk/current But I don't understand, why it is not working ANDROID_NDK=/opt/android-sdk/ndk/current. please help me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant