So, I did check, and USE_SYMBOLIC is set to true. I followed your instruction: I removed selected-java-source, make clean, and then I typed this: ./configure --prefix=$HOME/usr --without-awt --without-swt --without-sax2 --without-swing --with-java-source=8 --without-httpserver --disable-xquery --disable-echo2 --disable-jemacs --disable-brl --with-android=/data/data/com.termux/files/usr/share/java/android.jar (I also tried --disable-xml, but then make reported an error while attempting to compile some scm module) But despite that, USE_SYMBOLIC is still set to true in Mangle.java The output of make that I think might be relevant: javac -d . -g gnu/kawa/util/PreProcess.java CLASSPATH=".:$CLASSPATH" java gnu.kawa.util.PreProcess \ %java8 -use:com.sun.net.httpserver +enable:XML -with:jline3 -with:lsp4j -use:java.awt \ `sed -e 's|\([^ ]*\)|./\1|' < ./patch-source-list` (variant java8 maps to: +JAVA5 +JAVA2 +use:java.util.IdentityHashMap +use:java.lang.CharSequence +use:java.lang.Throwable.getCause +use:java.net.URI +use:java.util.regex +SAX2 +use:java.nio +use:org.w3c.dom.Node +use:javax.xml.transform +JAXP-1.3 -JAXP-QName +JAVA6 +JAVA7 +JAVA8 -JAVA9 -JAVA6COMPAT5 +use:java.text.Normalizer +use:javax.lang.model +use:java.lang.invoke -Android) make[1]: Leaving directory '/data/data/com.termux/files/home/Kawa2' echo "%java8 -use:com.sun.net.httpserver +enable:XML -with:jline3 -with:lsp4j -use:java.awt" >selected-java-source śr., 19 paź 2022, 18:05 użytkownik Per Bothner napisał: > > > On 10/19/22 02:15, Panicz Maciej Godek wrote: > > However, even after fixing that, I get another error: > > > > Error: Field name '\=android\,view\,View' cannot be represented in dex > format. > > > > I really don't know how to overcome that one (IIRC Kawa 1.13 used $Dt as > a replacement for a dot) > > There is still logic in Kawa to use-old style mangling (such as "$Dt" for > ".") when Kawa > is build for Android. Notice the /* #ifdef Android */ in > gnu/expr/Magling.java. > > This code is supposed to be enable by the gnu/kawa/util/PreProcess.java > helper, > specifically if you configure --with-android. > > So the first step is to make sure your working copy of Mangling.java > actually does have the USE_SYMBOLIC > set to false. If it doesn't, delete the file selected-java-source, and > re-run configure and make. > Check the PreProcess in the 'make' log. > -- > --Per Bothner > per@bothner.com http://per.bothner.com/ >