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

Azure Devops or General: Can't install NDK version on the fly, as directory is not writable #129

Open
carstenhag opened this issue Apr 2, 2024 · 0 comments

Comments

@carstenhag
Copy link

carstenhag commented Apr 2, 2024

The NDK version I am using in my project is different to the one provided by the current images (see #128).
At the default Azure DevOps / GitHub images, NDK versions that aren't installed get automatically installed by Gradle. With this image, it doesn't seem to work.

Not sure if this can be fixed by this docker image though :D

> Configure project :app
Checking the license for package NDK (Side by side) 26.2.11394342 in /opt/android/sdk/licenses
License for package NDK (Side by side) 26.2.11394342 accepted.
Preparing "Install NDK (Side by side) 26.2.11394342 v.26.2.11394342".
Warning: Failed to read or create install properties file.

FAILURE: Build completed with 2 failures.

1: Task failed with an exception.
-----------
* What went wrong:
A problem occurred configuring project ':app'.
> com.android.builder.sdk.InstallFailedException: Failed to install the following SDK components:
      ndk;26.2.11394342 NDK (Side by side) 26.2.11394342
  The SDK directory is not writable (/opt/android/sdk)
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