Missing CAP cache value for: NativeCodeInfo:PosixDirectives:ConstantInfo:CLOCK_REALTIME (android)
Using substrate 0.0.61 with maven plugin 1.0.22 on Ubuntu 22.04 Wsl2
mvn -Pandroid gluonfx:build
[Wed Dec 06 16:28:15 CET 2023][INFO] [SUB] Error: Missing CAP cache value for: NativeCodeInfo:PosixDirectives:ConstantInfo:CLOCK_REALTIME [Wed Dec 06 16:28:15 CET 2023][INFO] [SUB] com.oracle.svm.core.util.UserError$UserException: Missing CAP cache value for: NativeCodeInfo:PosixDirectives:ConstantInfo:CLOCK_REALTIME [Wed Dec 06 16:28:15 CET 2023][INFO] [SUB] at org.graalvm.nativeimage.builder/com.oracle.svm.core.util.UserError.abort(UserError.java:73) [Wed Dec 06 16:28:15 CET 2023][INFO] [SUB] at org.graalvm.nativeimage.builder/com.oracle.svm.hosted.c.info.InfoTreeVisitor.processChildren(InfoTreeVisitor.java:78)
Which GraalVM build are you using? For mobile, you should only use Gluon's GraalVM build 22.1.0.1-Final from https://github.com/gluonhq/graal/releases/latest
graalvm-community-openjdk-21.0.1+12.1
I thought the latest fix on Substrate fixed this issue. It's sad that for mobile we are stuck with old Jre and JavaFX