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 path is not correct #91

Open
guillaume-tgl opened this issue Mar 18, 2024 · 0 comments
Open

NDK path is not correct #91

guillaume-tgl opened this issue Mar 18, 2024 · 0 comments

Comments

@guillaume-tgl
Copy link
Contributor

Orb version

2.5.0

What happened

I have this step in my CircleCI config:

- android/install-ndk:
          version: "26.2.11394342"

Expected behavior

The issue is that ANDROID_NDK_HOME is set to /opt/android/26.2.11394342 whereas the NDK is installed at path /opt/android/sdk/ndk/26.2.11394342.

See the corresponding faulty code:

  if [[ -d "${HOME}/android-sdk/ndk/${PARAM_VER}" ]]; then
    android_ndk_home="$HOME/android-sdk/ndk/${PARAM_VER}"
  elif [[ -d "/opt/android/sdk/ndk/${PARAM_VER}" ]]; then
    android_ndk_home="/opt/android/${PARAM_VER}"
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