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.


Write Answer




©2019 concretepage.com | Privacy Policy | Contact Us