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

Proposal: use a path relative to ANDROID_HOME like in Android Gradle Plugins #64

Open
gferon opened this issue Feb 1, 2024 · 0 comments

Comments

@gferon
Copy link
Contributor

gferon commented Feb 1, 2024

I'm building an app with Bazel and flutter (which sadly is not integrated at all) and was puzzled when I realized ANDROID_NDK_HOME is completely ignored by the latest version of the Android Gradle plugin.

It looks like the project has moved from using ANDROID_NDK_HOME to assuming relative paths within ANDROID_HOME, like so: https://github.com/android/ndk-samples/wiki/Configure-NDK-Path#introduction

Adding search paths like $ANDROID_HOME/ndk/$version would also let us specify a version in the repository_rule which would fail if the constraint is not satisfied on the host's machine.

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