Build Error: DX returned an error code

Hello,

I am Muskan, a new contributor to the App Inventor project. I am facing a build error on Ubuntu, and I need some guidance.

When compiling the sources, the build fails with a "DX returned an error code" message. I have attached the full build log to this post for your review.

I apologize for the delay in sending this log. I was facing some technical difficulties with file sharing.

Thank you for your guidance.

Best regards,
Muskan Kumari

log.txt (529.7 KB)

What is the output of ant -diagnostics?

Hello ewpatton,

Thank you for the reply. I apologize for the delay in my response; I was facing some issues getting the output saved to a file.

I have now run the command you requested. The output of ant -diagnostics is attached to this reply in the diagnostics.txt file.

Please let me know if you need any further information.

Best regards,
Muskan Kumari

diagnostics.txt (6.9 KB)

Please reply to this topic in future, instead of continually creating a new topic each time!

Your ant diagnostics report that you are using Java 8. App Inventor requires Java 11 to compile, as specified in the "Dependencies" section of our readme: