When bundling for Android Defold throws the error message “Unable to bundle application”, with the following error details:
org.eclipse.core.internal.resources.ResourceException: Errors occurred during the build.
at org.eclipse.core.internal.resources.Project$1.run(Project.java:620)
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)
Contains: Errors running builder ‘Content Builder’ on project ‘Hammerwatch’.
org.eclipse.core.runtime.CoreException: Build failed: location /var/folders/f4/6sv_1cdd731_fty7yk375tj00000gn/T/80285507188804888/lib/android.jar not found
at com.dynamo.cr.editor.builders.ContentBuilder.buildLocal(ContentBuilder.java:177)
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: com.dynamo.bob.CompileExceptionError: location /var/folders/f4/6sv_1cdd731_fty7yk375tj00000gn/T/80285507188804888/lib/android.jar not found
at com.dynamo.bob.Project.build(Project.java:259)
at com.dynamo.cr.editor.builders.ContentBuilder.buildLocal(ContentBuilder.java:135)
… 13 more
Caused by: java.lang.RuntimeException: location /var/folders/f4/6sv_1cdd731_fty7yk375tj00000gn/T/80285507188804888/lib/android.jar not found
at com.dynamo.bob.Bob.getPath(Bob.java:104)
at com.dynamo.bob.bundle.AndroidBundler.bundleApplication(AndroidBundler.java:134)
at com.dynamo.bob.Project.bundle(Project.java:397)
at com.dynamo.bob.Project.doBuild(Project.java:449)
at com.dynamo.bob.Project.build(Project.java:254)
… 14 more
Contains: Build failed: location /var/folders/f4/6sv_1cdd731_fty7yk375tj00000gn/T/80285507188804888/lib/android.jar not found
com.dynamo.bob.CompileExceptionError: location /var/folders/f4/6sv_1cdd731_fty7yk375tj00000gn/T/80285507188804888/lib/android.jar not found
at com.dynamo.bob.Project.build(Project.java:259)
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: location /var/folders/f4/6sv_1cdd731_fty7yk375tj00000gn/T/80285507188804888/lib/android.jar not found
at com.dynamo.bob.Bob.getPath(Bob.java:104)
at com.dynamo.bob.bundle.AndroidBundler.bundleApplication(AndroidBundler.java:134)
at com.dynamo.bob.Project.bundle(Project.java:397)
at com.dynamo.bob.Project.doBuild(Project.java:449)
at com.dynamo.bob.Project.build(Project.java:254)
… 14 more