[Android-tools-devel] advice on android-framework-23
Hans-Christoph Steiner
hans at eds.org
Sun Jan 27 10:38:02 GMT 2019
Hey Java Team!
We're trying to get some version of the android-framework-2x into
buster, and it is a struggle. Since y'all have helped with this package
before, and know lots about packaging Java, I'm asking for some advice.
seamlik, cdesai, and I are stumped. I did apply some upstream patches
to fix some Java9 code issues, but that's not enough.
android-framework-23 doesn't work with Java 9+, but will build with Java
8. But that would make it the only package in buster that needs java8.
So no go. Building with default-jdk runs into this new Java "module"
feature, which I have no idea about. It seems that there needs to be
some custom config for javac now in order to compile Java base classes.
Some example errors:
/export/share/code/android-tools-team/android-framework-23/debian/out/android/build/stubs/javax/crypto/Cipher.java:1:
error: package exists in another module: java.base
package javax.crypto;
^
/export/share/code/android-tools-team/android-framework-23/debian/out/android/build/stubs/javax/xml/transform/TransformerException.java:1:
error: package exists in another module: java.xml
Here are some full build logs:
https://salsa.debian.org/android-tools-team/android-framework-23/-/jobs/114477
https://salsa.debian.org/android-tools-team/android-framework-23/-/jobs/114476
.hc
More information about the Android-tools-devel
mailing list