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

fatal error: 'jni.h' file not found with Bazel@HEAD #393

Closed
sgowroji opened this issue Jan 3, 2024 · 1 comment
Closed

fatal error: 'jni.h' file not found with Bazel@HEAD #393

sgowroji opened this issue Jan 3, 2024 · 1 comment

Comments

@sgowroji
Copy link
Member

sgowroji commented Jan 3, 2024

https://buildkite.com/bazel/bazel-at-head-plus-downstream/builds/3566#018ccd5b-90b8-44a8-b8dc-e49718a3f330

Platform : Bazel Examples (android (Android NDK) on :mac: (OpenJDK 11, Xcode))

Logs:

app/src/main/cpp/native-lib.cpp:1:10: fatal error: 'jni.h' file not found

Steps:

git clone https://github.com/bazelbuild/examples.git 
git reset 36408ec43bb419d483c30cd73e08a32dd7dfefe5 --hard
export USE_BAZEL_VERSION=955b0896819ba7608d13fa6a33ba0ba9d8473004
bazel build //app/src/main:app

CC Greeteam @mai93

@mai93
Copy link

mai93 commented Jan 5, 2024

I think this is a duplicate of #381, @comius can this be caused by bazelbuild/bazel@d8ed538?

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

3 participants