build fail apk Using "Use Custom Build"

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By tommyabbccc

Hello every I would like to build apk for my game and using Use Custom Build
but unlucky, it gets an error
enter image description here

it said Could not initialize class org.codehaus.groovy.runtime.InvokerHelper
any idea how to solve it?? thank you very much

I had the same error when I tried to replace the name of the class being run in AndroidManifest.xml. Try to repeat the build on the standard template and if everything goes smoothly, try to track which of your modifications break the build

EXOMODE | 2021-01-12 18:41