codenameone / CodenameOne

Cross-platform framework for building truly native mobile apps with Java or Kotlin. Write Once Run Anywhere support for iOS, Android, Desktop & Web.

Home Page:https://www.codenameone.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build crash in the server

Y-souhail opened this issue · comments

hey everyone,

Since our previous update we are unable to build our codename one android projects, you will find the error message above that occur during the server build. Your assistance would be appreciated since we are moving into production.
thank you in advance,

Play Services Location Enabled
Exception: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
java.lang.Class.forName0(Native Method)
java.lang.Class.forName(Class.java:264)
java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:102)
java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:81)
java.awt.image.BufferedImage.createGraphics(BufferedImage.java:1182)
com.codename1.build.daemon.Executor.getScaledInstance(Executor.java:2017)
com.codename1.build.daemon.Executor.createIconFile(Executor.java:1162)
com.codename1.build.daemon.AndroidGradleBuilder.build(AndroidGradleBuilder.java:1363)
com.codename1.build.daemon.AndroidBuilder.build(AndroidBuilder.java:146)
com.codename1.build.daemon.Executor$8.run(Executor.java:1076)