Home  >  Forum  >  Android
Post New Query

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'.
sun/misc/BASE64Encoder

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
Thanks Piyush.
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
line :
-vm
/usr/lib/jvm/java-8-openjdk-amd64/bin

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


Write Answer




©2019 concretepage.com | Privacy Policy | Contact Us