[Android-tools-devel] advice on android-framework-23
Emmanuel Bourg
ebourg at apache.org
Sun Jan 27 20:27:11 GMT 2019
Le 27/01/2019 à 21:12, Hans-Christoph Steiner a écrit :
> I have been building with these options in gradle:
>
> sourceCompatibility = 1.8
> targetCompatibility = 1.8
>
> And that doesn't solve the problem of the new "patch module" stuff added
> in Java9. That means you have to do some extra tricks to build parts of
> Java itself. The android.jar is the SDK jar, so it includes lots of
> java.* classes. This is the stuff that is stumping us.
Setting the source/target isn't enough. You have to set the new javac
--release flag.
Emmanuel Bourg
More information about the Android-tools-devel
mailing list