Android build fails with Release mode

When I do Android build with use of Release mode it fails with error “Unable to budle applicationg. Reason: Errors occured during the build” and below exception. Happens for different projects (including Defold tutorial ones). No issue when release mode is disabled.

Any idea?

Platform: Ubuntu 64 bit
Defold: 1.2.85

Exception:
com.dynamo.bob.CompileExceptionError: /libexec/x86_64-linux/strip_android not found
at com.dynamo.bob.Project.build(Project.java:267)
at com.dynamo.cr.editor.builders.ContentBuilder.buildLocal(ContentBuilder.java:135)
at com.dynamo.cr.editor.builders.ContentBuilder.build(ContentBuilder.java:83)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:726)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:321)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:396)
at org.eclipse.core.internal.resources.Project$1.run(Project.java:618)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
at org.eclipse.core.internal.resources.Project.internalBuild(Project.java:597)
at org.eclipse.core.internal.resources.Project.build(Project.java:124)
at com.dynamo.cr.editor.handlers.AbstractBundleHandler$BundleRunnable.buildProject(AbstractBundleHandler.java:63)
at com.dynamo.cr.editor.handlers.AbstractBundleHandler$BundleRunnable.run(AbstractBundleHandler.java:72)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.RuntimeException: /libexec/x86_64-linux/strip_android not found
at com.dynamo.bob.Bob.getExe(Bob.java:124)
at com.dynamo.bob.bundle.AndroidBundler.bundleApplication(AndroidBundler.java:212)
at com.dynamo.bob.Project.bundle(Project.java:406)
at com.dynamo.bob.Project.doBuild(Project.java:498)
at com.dynamo.bob.Project.build(Project.java:262)
… 14 more

Session data:
eclipse.buildId=unknown
java.version=1.8.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64

Thx for reporting this! We seem to be missing that executable in our 64bit Linux editor! We’ll add a ticket for this tomorrow. Until we have a fix, as you say, the workaround is to use the non release mode.

1 Like

ok. thx.

I’m having some issue with payments on android (failing saying that I need to authenticate to google store). I guess this is because of non-release mode.

Can you tell me if release fixing this is a matter of days or rather weeks? If second, it’s no issue but then I will setup editor on some 32-bit linux and build it there.

I’d say it will take at least two weeks, since we’re about to release a new version this week (we’re in beta phase now), and that fix won’t make it in time I’m afraid.

2 Likes

that’s fine. thanks for estimation! I know what to do then :slight_smile:

1 Like

I hope I’ll have time to look into this today or tomorrow, though I can’t make any promises. If I get to it, I’ll make sure to post a temporary solution here.

1 Like

@jakob.pogulis - don’t worry. no need :slight_smile: looks like I’m the first person stuck on this, so the only one so far. I will build it on 32bit Linux or Windows. Just wanted to know estimation, so I can plan my actions.

It is also not urgent for me… I do it for training here

1 Like