RustyInAndroid

Results 7 comments of RustyInAndroid

也是偶现圆角失效

> Thanks for reporting an issue. > > We call javac in the build script to build our bundled java. It seems to complain that javac doesn't support the `--release`...

``` > JAVA_HOME ➜ /usr/libexec/java_home -V Matching Java Virtual Machines (3): 1.8.401.10 (x86_64) "Oracle Corporation" - "Java" /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home 1.8.0_311 (x86_64) "Oracle Corporation" - "Java SE 8" /Library/Java/JavaVirtualMachines/jdk1.8.0_311.jdk/Contents/Home 1.8.0_192 (x86_64)...

> ```rust > #[cfg(target_os = "android")] > #[no_mangle] > fn android_main(app: slint::android::AndroidApp) { > slint::android::init(app).unwrap(); > // ... rest of your code ... > slint::slint!{ > export component MainWindow inherits...

> That's strange that this fails to find java now while it worked before. Did you change the definition of JAVA_HOME? Maybe you need to define it to `/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home`...

> So do $JAVA_HOME/bin/javac exist? And what is the error when you try to compile now? ``` ➜ echo $JAVA_HOME/bin/javac /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/javac ``` ``` ❯ cargo clean Removed 4716 files,...

> How about `file $JAVA_HOME/bin/javac` (checking if the file actually exist) ? Thank you for your guidance. I specified the Java version as v 1.8.0_311, and then $JAVA_HOME/bin/javac also exists....