First, a clarification: I'm not yet using the android* packages for building my Android apps. I would very much like to, but they seemed incomplete and outdated whenever I checked.
Rather, I'm using the Android SDK downloaded from Google and brought up to date by running "sdkmanager --update".
But I do use the Ubuntu supplied Gradle 3.4.1, OpenJDK 8 packages as well as several standlone SDK tools like apksigner, apktool, adb and some more. I described everything in e.g. this README:
So yes, the Android builds work with OpenJDK 8, Gradle 3.4.1 under Ubuntu 18.04 LTS. On OpenJDK 11, Gradle 4.4.1 under Ubuntu 18.04 LTS-proposed the described issues appear. All issues I reported are perfectly reproducable. I will test OpenJDK 10 in a moment, but from memory when I updated Bionic I had similar issues until I uninstalled OpenJDK 10 which fixed all problems I had.
First, a clarification: I'm not yet using the android* packages for building my Android apps. I would very much like to, but they seemed incomplete and outdated whenever I checked.
Rather, I'm using the Android SDK downloaded from Google and brought up to date by running "sdkmanager --update".
But I do use the Ubuntu supplied Gradle 3.4.1, OpenJDK 8 packages as well as several standlone SDK tools like apksigner, apktool, adb and some more. I described everything in e.g. this README:
https:/ /github. com/bitcoin- wallet/ bitcoin- wallet/ blob/master/ wallet/ README. md#building- the-development -version
So yes, the Android builds work with OpenJDK 8, Gradle 3.4.1 under Ubuntu 18.04 LTS. On OpenJDK 11, Gradle 4.4.1 under Ubuntu 18.04 LTS-proposed the described issues appear. All issues I reported are perfectly reproducable. I will test OpenJDK 10 in a moment, but from memory when I updated Bionic I had similar issues until I uninstalled OpenJDK 10 which fixed all problems I had.