Unfortunately it looks like the latest Eclipse 4.17 requires Java 11 and so Android application using Andmore ADT cannot be build. Simply switching the vm to old java isn't an option as Eclipse simply won't work.
Building an android application seems to brake around the signing part of the package with the error:
Errors occurred during the build.
Errors running builder 'Android Package Builder' on project 'com.pijulius.tvguide'. sun/misc/BASE64Encoder
After some digging found out that this file (have no idea where it comes from but gets automatically created whenever you delete it so I imagine one of the plugins provides it but not sure which one or how):
is the file that contains the
SignedJarBuilder.java class and causes the
Tried to look around for fixed version of this class but unfortunately Google dropped the tools all together instead of the command tools they use now and that's a total rewrite as far as I could see so using that wasn't an option.
Then found an old version of this tools build here:
which uses BouncyCastle instead of sun's base64 implementation, you can see the source code here:
Now what I did is:
Step 1: simply replace this SignedJarBuilder class with the one from the old tools sdklib build (22.1.3) as follows:
Step 2: also added the class files for BouncyCastle builds from these two files:
They both were download from here:
Finally: rebuild the sdklib.jar zip file and replaced the original one with the new one and finally it's working. Building and installing works too and should work with both new and old java too as far as I can tell.
The final sdklib.jar file (that I use, including the other jar files) can be found here:
ps: why not use Android Studio? well because I want to use one IDE for different projects instead of always switching app just to work on different things, that's the whole idea behind Eclipse and really hope android development possibility won't die on it's end.