Errors running builder 'Android Package Builder' on project sun/misc/BASE64Encoder
Asked on June 08, 2018
I am creating Android App using Eclipse and Java 9. When I start my app in Eclipse, I get following error.
Errors occurred during the build.
Errors running builder 'Android Package Builder' on project 'MyApp'.
How to fix it.
Replied on June 08, 2018
sun/misc/BASE64Encoder has been dropped in Java 9. It is available till Java 8.
You can fix your error by switching to Java 8 environment.
Replied on October 02, 2018
In my case, it's java 11 environnement.
To solve my pb i have change edit the eclipse.ini file by adding this line before the -vmargs
And it's work.
Replied on April 22, 2019
Eclipse on unbuntu 18.04 does not work with java 11. uninstall the jdk and install the jdk 1.8 sudo apt install openjdk-8-jdk