Open unicornlox opened 3 years ago
Did you install NDK and add a path?
yes, I added android ndk to the path.
jni.h is in JDK/include. Did you set JAVA_HOME or JDK_HOME?
@ueshita yes, I mentioned that I added java to the path.
echo $JAVA_HOME
output of this command:
/usr/lib/jvm/java-16-openjdk/
my jni.h file's path is:
/usr/lib/jvm/java-16-openjdk/include/jni.h
echo $JAVA_INCLUDE_DIR
output:
/usr/lib/jvm/java-16-openjdk/include
when i give this command:
python3 Dev/Cpp/build.py platform=android
i am getting this error : ``` godot-cpp/godot-headers/android/godot_android.h:37:10: fatal error: 'jni.h' file not foundinclude