when i run my app in mac, and show up this message Errors occurred during the build. Errors running builder \'Android Package Builder\' on project \'IMPEXP\'. sun/misc/BASE
The Android code you are using is trying to use the sun.misc.BASE64Encoder
class.
This deprecated class has been removed from Java 9 so this is not going to work.
You will need to switch back to Java 8 or find an update to the Android code (if there is one).
In my case it was something very crazy. I have to download the eclipse IDE Version NEON
Since the project is old almost from 2014
Attached the url of the IDE for which you need it: Eclipse IDE NEON
I also had to follow the same installation steps
I'm working with Windows 7. I had to change the preferences and the ini file. Both had C:\Program Files\Java\jdk-12.0.1\bin which I changed to C:\Program Files\Java\jre1.8.0_221\bin. It now works!
As others have pointed out already, this is a compatibility issue—you need exactly Java 8 to run Eclipse.