23 warnings and 1 error generated.
make: *** [/Users/nikosb/Library/Android/sdk/ndk/29.0.14206865/build/core/build-binary.mk:422: obj/local/x86/objs/osmand/__/__/__/native/src/java_wrap.o] Error 1
make: *** Waiting for unfinished jobs....
fcntl(): Bad file descriptor
[x86] Compile++ : osmand <= routeCalculationProgress.cpp
> Task :OsmAnd:buildOsmAndCore FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':OsmAnd:buildOsmAndCore'.
> Process 'command 'bash'' finished with non-zero exit value 2
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 48s
57 actionable tasks: 51 executed, 6 from cache
For the SKD version I have the following directories in Library/Android/sdk/build-tools
34.0.0, 35.0.0 and 35.0.1
and openjdk version 23.0
I also tried opening the project in Android Studio and Running it by I get this error:
33 tests completed, 7 failed
Caused by: java.io.FileNotFoundException at SearchUICoreGenericTest.java:23
Can I get help with resolving these issues and compiling the Android code?
Regards,
Nikos