-
26 Oct 2012 10:36 PM #1
"sencha app build" error
"sencha app build" error
Sencha Cmd 3.0.0.230
Sencha Touch 2.1.0-rc2
Steps:
1. In touch-sdk folder, create a new project using the Sencha Cmd:
sencha generate app -p my/path
2. Host the generated code on your web server and go test it <== Works
3. Move to my/path and run "sencha app build" <= Fails (see error below)
4. Edit packager.json
Mine:
5. run "sencha package build -p packager.json" <== WorksCode:{ "applicationName":"MyApplication", "applicationId":"com.mycompany.myAppID", "bundleSeedId":"KPXFEPZ6EF", "versionString":"1.0", "versionCode":"1", "icon": { "57":"resources/icons/Icon.png", "72":"resources/icons/Icon~ipad.png", "114":"resources/icons/Icon@2x.png", "144":"resources/icons/Icon~ipad@2x.png" }, "inputPath":"./", "outputPath":"./bin/", "configuration":"Debug", "platform":"Android", "deviceType":"Universal", "certificatePath":"C:/Users/.../my-release-key.keystore", "certificateAlias":"alias_name", "certificatePassword":"pass", "provisionProfile":"APP_NAME.mobileprovision", "sdkPath":"C:/android-sdk", "androidAPILevel":"7", "permissions":[ "INTERNET", "ACCESS_NETWORK_STATE", "CAMERA", "VIBRATE", "ACCESS_FINE_LOCATION", "ACCESS_COARSE_LOCATION", "CALL_PHONE"], "orientations": [ "portrait", "landscapeLeft", "landscapeRight", "portraitUpsideDown" ] }
Code:C:\Users\...\SenchaCmd>sencha app build Sencha Cmd v3.0.0.230 [INFO ] [INFO ] init-properties: [INFO ] [INFO ] [INFO ] init-sencha-command: [INFO ] [INFO ] [INFO ] init: [INFO ] [INFO ] [INFO ] -before-app-build: [INFO ] [INFO ] [INFO ] app-build-impl: [INFO ] [INFO ] [INFO ] production: [INFO ] [INFO ] [INFO ] -before-init-local: [INFO ] [INFO ] [INFO ] -init-local: [INFO ] [INFO ] [INFO ] -after-init-local: [INFO ] [INFO ] [INFO ] init-local: [INFO ] [INFO ] [INFO ] find-cmd: [INFO ] [INFO ] [INFO ] -before-init: [INFO ] [INFO ] [INFO ] -init: [INFO ] [INFO ] [INFO ] -after-init: [INFO ] [INFO ] [INFO ] init: [INFO ] [INFO ] [INFO ] -before-build: [INFO ] [INFO ] [INFO ] sass: [INFO ] [INFO ] [INFO ] -before-sass: [INFO ] [INFO ] [INFO ] -sass: [INFO ] [INFO ] [shellscript] '''compass''' is not recognized as an internal or external command, [INFO ] [INFO ] [shellscript] [INFO ] [INFO ] [shellscript] C:\Users\...\SenchaCmd\resources\sass>compass compile --boring --force operable program or batch f ile. [INFO ] [INFO ] [shellscript] [INFO ] [ERROR] [ERROR] BUILD FAILED [ERROR] com.sencha.exceptions.BasicException: The following error occurred while executing this line: [ERROR] C:\Users\...\SenchaCmd\.sencha\app\build-impl.xml:92: The following error occurred while executing this line: [ERROR] jar:file:/C:/Users/.../bin/Sencha/Cmd/3.0.0.230/sencha.jar!/com/sencha/ant/antlib.xml:347: shellscript returned: 1 [ERROR] at com.sencha.exceptions.BasicException.wrap(BasicException.java:43) [ERROR] at com.sencha.cli.Command.dispatch(Command.java:104) [ERROR] at com.sencha.cli.Commands.dispatch(Commands.java:49) [ERROR] at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:184) [ERROR] at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:58) [ERROR] at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:22) [ERROR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [ERROR] at org.apache.tools.ant.Task.perform(Task.java:348) [ERROR] at org.apache.tools.ant.Target.execute(Target.java:392) [ERROR] at org.apache.tools.ant.Target.performTasks(Target.java:413) [ERROR] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [ERROR] at org.apache.tools.ant.Project.executeTarget(Project.java:1368) [ERROR] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [ERROR] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [ERROR] at com.sencha.ant.AntRunner.run(AntRunner.java:156) [ERROR] at com.sencha.ant.AntRunner.run(AntRunner.java:72) [ERROR] at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java:80) [ERROR] at com.sencha.command.BasePluginCommands$BaseNamePathCommand.run(BasePluginCommands.java:120) [ERROR] at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:96) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at com.sencha.cli.Command.dispatch(Command.java:78) [ERROR] at com.sencha.cli.Commands.dispatch(Commands.java:49) [ERROR] at com.sencha.cli.Commands.dispatch(Commands.java:49) [ERROR] at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:184) [ERROR] at com.sencha.command.Sencha.main(Sencha.java:58) [ERROR] Caused by: C:\Users\...\SenchaCmd\.sencha\app\build-impl.xml:100: The following error occurred while executing t his line: [ERROR] C:\Users\...\SenchaCmd\.sencha\app\build-impl.xml:92: The following error occurred while executing this line: [ERROR] jar:file:/C:/Users/.../bin/Sencha/Cmd/3.0.0.230/sencha.jar!/com/sencha/ant/antlib.xml:347: shellscript returned: 1 [ERROR] at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551) [ERROR] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444) [ERROR] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105) [ERROR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [ERROR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [ERROR] at org.apache.tools.ant.Task.perform(Task.java:348) [ERROR] at org.apache.tools.ant.Target.execute(Target.java:392) [ERROR] at org.apache.tools.ant.Target.performTasks(Target.java:413) [ERROR] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [ERROR] at org.apache.tools.ant.Project.executeTarget(Project.java:1368) [ERROR] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [ERROR] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [ERROR] at com.sencha.ant.AntRunner.run(AntRunner.java:156) [ERROR] at com.sencha.ant.AntRunner.run(AntRunner.java:80) [ERROR] at com.sencha.command.ant.AntCommand.execute(AntCommand.java:74) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at com.sencha.cli.Command.dispatch(Command.java:78) [ERROR] ... 31 more [ERROR] Caused by: C:\Users\...\SenchaCmd\.sencha\app\build-impl.xml:92: The following error occurred while executing th is line: [ERROR] jar:file:/C:/Users/.../bin/Sencha/Cmd/3.0.0.230/sencha.jar!/com/sencha/ant/antlib.xml:347: shellscript returned: 1 [ERROR] at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:551) [ERROR] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:401) [ERROR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [ERROR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [ERROR] at org.apache.tools.ant.Task.perform(Task.java:348) [ERROR] at org.apache.tools.ant.Target.execute(Target.java:392) [ERROR] at org.apache.tools.ant.Target.performTasks(Target.java:413) [ERROR] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [ERROR] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38) [ERROR] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [ERROR] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) [ERROR] ... 52 more [ERROR] Caused by: jar:file:/C:/Users/.../bin/Sencha/Cmd/3.0.0.230/sencha.jar!/com/sencha/ant/antlib.xml:347: shellscript returned: 1 [ERROR] at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:646) [ERROR] at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672) [ERROR] at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498) [ERROR] at net.sf.antcontrib.platform.ShellScriptTask.execute(ShellScriptTask.java:132) [ERROR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [ERROR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [ERROR] at org.apache.tools.ant.Task.perform(Task.java:348) [ERROR] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [ERROR] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [ERROR] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154) [ERROR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [ERROR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [ERROR] at org.apache.tools.ant.Task.perform(Task.java:348) [ERROR] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [ERROR] at net.sf.antcontrib.logic.IfTask.execute(IfTask.java:197) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [ERROR] at org.apache.tools.ant.TaskAdapter.execute(TaskAdapter.java:154) [ERROR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [ERROR] at sun.reflect.GeneratedMethodAcc [ERROR] essor8.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [ERROR] at org.apache.tools.ant.Task.perform(Task.java:348) [ERROR] at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:68) [ERROR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [ERROR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [ERROR] at org.apache.tools.ant.Task.perform(Task.java:348) [ERROR] at org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:398) [ERROR] ... 64 more [ERROR] [ERROR] Total time: 1 second [ERROR] [ERROR] com.sencha.exceptions.BasicException: The following error occurred while executing this line: C:\Users\...\SenchaCmd\.sencha\app\build-impl.xml:92: The following error occurred while executing this line: jar:file:/C:/Users/.../bin/Sencha/Cmd/3.0.0.230/sencha.jar!/com/sencha/ant/antlib.xml:347: shellscript returned: 1
Any help to solve the build error?
Any other way to compact the app before packaging it with Sencha Cmd 3?Last edited by $p00ky; 26 Oct 2012 at 11:12 PM. Reason: add info
-
27 Oct 2012 9:20 AM #2
Your first error is:
You need to install compass, it's one of CMD's dependencies. First install the "rubygems" package on your system (mac comes with it) and then run "gem install compass". Before running CMD again make sure you can type just "compass" on your shell and it runs instead of complaining about command not foundCode:[shellscript] '''compass''' is not recognized as an internal or external command
-
27 Oct 2012 2:44 PM #3
-
31 Oct 2012 10:17 AM #4
ruby compass and sass are installed but i still get the same error
-
31 Oct 2012 2:31 PM #5
Does this thread look like what you are seeing?
http://www.sencha.com/forum/showthre...ror-on-windowsDon Griffin
Ext JS Development Team Lead
Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue
"Use the source, Luke!"
-
31 Oct 2012 9:39 PM #6
no itsmore like this: but my java_home is set to the jdk:
Code:[echo] ---------- [echo] Handling BuildConfig class... [buildconfig] Generating BuildConfig class. -pre-compile: -compile: BUILD FAILED C:\Android\android-sdk\tools\ant\build.xml:679: The following error occurred whi le executing this line: C:\Android\android-sdk\tools\ant\build.xml:692: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "C:\Program Files (x86)\Java\jre7" Total time: 1 second ""C:/Android/android-sdk\tools\android" create project --target android-8 --name DerLiebesrechner --activity STActivity --path "C:\xampp\htdocs\liebesrechner-2. 0\build\native\/" --package com.freakpwebdesign.liebesrechner" Could not run ant with error: 1 Failed to package application [ERROR] [ERROR] BUILD FAILED [ERROR] com.sencha.exceptions.BasicException: The following error occurr ed while executing this line: [ERROR] C:\xampp\htdocs\liebesrechner-2.0\.sencha\app\build-impl.xml:120 : javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedExcep tion: Wrapped com.sencha.exceptions.ExBuild: failed running native packager (<Un known source>#673) in <Unknown source> at line number 673 [ERROR] at com.sencha.exceptions.BasicException.wrap(BasicExcept ion.java:43) [ERROR] at com.sencha.cli.Command.dispatch(Command.java:104) [ERROR] at com.sencha.cli.Commands.dispatch(Commands.java:49) [ERROR] at com.sencha.cli.AbstractCommand.dispatch(AbstractComma nd.java:184) [ERROR] at com.sencha.ant.SenchaCommandTask.doExecute(SenchaComm andTask.java:58) [ERROR] at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:2 2) [ERROR] at org.apache.tools.ant.UnknownElement.execute(UnknownEl ement.java:291) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M ethod) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S ource) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno wn Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(D ispatchUtils.java:106) [ERROR] at org.apache.tools.ant.Task.perform(Task.java:348) [ERROR] at org.apache.tools.ant.Target.execute(Target.java:392) [ERROR] at org.apache.tools.ant.Target.performTasks(Target.java: 413) [ERROR] at org.apache.tools.ant.Project.executeSortedTargets(Pro ject.java:1399) [ERROR] at org.apache.tools.ant.Project.executeTarget(Project.ja va:1368) [ERROR] at org.apache.tools.ant.helper.DefaultExecutor.executeTa rgets(DefaultExecutor.java:41) [ERROR] at org.apache.tools.ant.Project.executeTargets(Project.j ava:1251) [ERROR] at com.sencha.ant.AntRunner.run(AntRunner.java:156) [ERROR] at com.sencha.ant.AntRunner.run(AntRunner.java:72) [ERROR] at com.sencha.command.BasePluginCommands$BasePluginComma nd.run(BasePluginCommands.java:80) [ERROR] at com.sencha.command.BasePluginCommands$BaseNamePathCom mand.run(BasePluginCommands.java:120) [ERROR] at com.sencha.command.app.AppCommands$BuildCommand.execu te(AppCommands.java:96) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M ethod) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S ource) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno wn Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at com.sencha.cli.Command.dispatch(Command.java:78) [ERROR] at com.sencha.cli.Commands.dispatch(Commands.java:49) [ERROR] at com.sencha.cli.Commands.dispatch(Commands.java:49) [ERROR] at com.sencha.cli.AbstractCommand.dispatch(AbstractComma nd.java:184) [ERROR] at com.sencha.command.Sencha.main(Sencha.java:58) [ERROR] Caused by: C:\xampp\htdocs\liebesrechner-2.0\.sencha\app\build-i mpl.xml:126: The following error occurred while executing this line: [ERROR] C:\xampp\htdocs\liebesrechner-2.0\.sencha\app\build-impl.xml:120 : javax.script.ScriptException: sun.org.mozilla.javascript.internal.WrappedExcep tion: Wrapped com.sencha.exceptions.ExBuild: failed running native packager (<Un known source>#673) in <Unknown source> at line number 673 [ERROR] at org.apache.tools.ant.ProjectHelper.addLocationToBuild Exception(ProjectHelper.java:551) [ERROR] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:44 4) [ERROR] at org.apache.tools.ant.taskdefs.CallTarget.execute(Call Target.java:105) [ERROR] at org.apache.tools.ant.UnknownElement.execute(UnknownEl ement.java:291) [ERROR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown S ource) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno wn Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(D ispatchUtils.java:106) [ERROR] at org.apache.tools.ant.Task.perform(Task.java:348) [ERROR] at org.apache.tools.ant.Target.execute(Target.java:392) [ERROR] at org.apache.tools.ant.Target.performTasks(Target.java: 413) [ERROR] at org.apache.tools.ant.Project.executeSortedTargets(Pro ject.java:1399) [ERROR] at org.apache.tools.ant.Project.executeTarget(Project.ja va:1368) [ERROR] at org.apache.tools.ant.helper.DefaultExecutor.executeTa rgets(DefaultExecutor.java:41) [ERROR] at org.apache.tools.ant.Project.executeTargets(Project.j ava:1251) [ERROR] at com.sencha.ant.AntRunner.run(AntRunner.java:156) [ERROR] at com.sencha.ant.AntRunner.run(AntRunner.java:80) [ERROR] at com.sencha.command.ant.AntCommand.execute(AntCommand. java:74) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M ethod) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S ource) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno wn Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at com.sencha.cli.Command.dispatch(Command.java:78) [ERROR] ... 31 more [ERROR] Caused by: C:\xampp\htdocs\liebesrechner-2.0\.sencha\app\build-i mpl.xml:120: javax.script.ScriptException: sun.org.mozilla.javascript.internal.W rappedException: Wrapped com.sencha.exceptions.ExBuild: failed running native pa ckager (<Unknown source>#673) in <Unknown source> at line number 673 [ERROR] at org.apache.tools.ant.util.ReflectUtil.toBuildExceptio n(ReflectUtil.java:183) [ERROR] at org.apache.tools.ant.util.ReflectUtil.throwBuildExcep tion(ReflectUtil.java:166) [ERROR] at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectU til.java:110) [ERROR] at org.apache.tools.ant.util.ReflectWrapper.invoke(Refle ctWrapper.java:81) [ERROR] at org.apache.tools.ant.util.optional.JavaxScriptRunner. evaluateScript(JavaxScriptRunner.java:103) [ERROR] at org.apache.tools.ant.util.optional.JavaxScriptRunner. executeScript(JavaxScriptRunner.java:67) [ERROR] at org.apache.tools.ant.taskdefs.optional.script.ScriptD ef.executeScript(ScriptDef.java:350) [ERROR] at org.apache.tools.ant.taskdefs.optional.script.ScriptD efBase.execute(ScriptDefBase.java:50) [ERROR] at org.apache.tools.ant.UnknownElement.execute(UnknownEl ement.java:291) [ERROR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown S ource) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno wn Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(D ispatchUtils.java:106) [ERROR] at org.apache.tools.ant.Task.perform(Task.java:348) [ERROR] at org.apache.tools.ant.Target.execute(Target.java:392) [ERROR] at org.apache.tools.ant.Target.performTasks(Target.java: 413) [ERROR] at org.apache.tools.ant.Project.executeSortedTargets(Pro ject.java:1399) [ERROR] at org.apache.tools.ant.helper.SingleCheckExecutor.execu teTargets(SingleCheckExecutor.java:38) [ERROR] at org.apache.tools.ant.Project.executeTargets(Project.j ava:1251) [ERROR] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:44 2) [ERROR] ... 52 more [ERROR] Caused by: javax.script.ScriptException: sun.org.mozilla.javascr ipt.internal.WrappedException: Wrapped com.sencha.exceptions.ExBuild: failed run ning native packager (<Unknown source>#673) in <Unknown source> at line number 6 73 [ERROR] at com.sun.script.javascript.RhinoScriptEngine.eval(Unkn own Source) [ERROR] at com.sun.script.javascript.RhinoScriptEngine.eval(Unkn own Source) [ERROR] at javax.script.AbstractScriptEngine.eval(Unknown Source ) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M ethod) [ERROR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown S ource) [ERROR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unkno wn Source) [ERROR] at java.lang.reflect.Method.invoke(Unknown Source) [ERROR] at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectU til.java:108) [ERROR] ... 69 more [ERROR] Caused by: sun.org.mozilla.javascript.internal.WrappedException: Wrapped com.sencha.exceptions.ExBuild: failed running native packager (<Unknown source>#673) [ERROR] at sun.org.mozilla.javascript.internal.Context.throwAsSc riptRuntimeEx(Unknown Source) [ERROR] at sun.org.mozilla.javascript.internal.MemberBox.invoke( Unknown Source) [ERROR] at sun.org.mozilla.javascript.internal.NativeJavaMethod. call(Unknown Source) [ERROR] at sun.org.mozilla.javascript.internal.Interpreter.inter pretLoop(Unknown Source) [ERROR] at sun.org.mozilla.javascript.internal.Interpreter.inter pret(Unknown Source) [ERROR] at sun.org.mozilla.javascript.internal.InterpretedFuncti on.call(Unknown Source) [ERROR] at sun.org.mozilla.javascript.internal.ContextFactory.do TopCall(Unknown Source) [ERROR] at com.sun.script.javascript.RhinoScriptEngine$1.superDo TopCall(Unknown Source) [ERROR] at com.sun.script.javascript.RhinoScriptEngine$1.doTopCa ll(Unknown Source) [ERROR] at sun.org.mozilla.javascript.internal.ScriptRuntime.doT opCall(Unknown Source) [ERROR] at sun.org.mozilla.javascript.internal.InterpretedFuncti on.exec(Unknown Source) [ERROR] at sun.or [ERROR] g.mozilla.javascript.internal.Context.evaluateReader(Unknown Sou rce) [ERROR] ... 77 more [ERROR] Caused by: com.sencha.exceptions.ExBuild: failed running native packager [ERROR] at sun.reflect.NativeConstructorAccessorImpl.newInstance 0(Native Method) [ERROR] at sun.reflect.NativeConstructorAccessorImpl.newInstance (Unknown Source) [ERROR] at sun.reflect.DelegatingConstructorAccessorImpl.newInst ance(Unknown Source) [ERROR] at java.lang.reflect.Constructor.newInstance(Unknown Sou rce) [ERROR] at sun.org.mozilla.javascript.internal.MemberBox.newInst ance(Unknown Source) [ERROR] at sun.org.mozilla.javascript.internal.NativeJavaClass.c onstructSpecific(Unknown Source) [ERROR] at sun.org.mozilla.javascript.internal.NativeJavaClass.c onstruct(Unknown Source) [ERROR] ... 86 more [ERROR] [ERROR] Total time: 37 seconds [ERROR] [ERROR] com.sencha.exceptions.BasicException: The following error occurr ed while executing this line: C:\xampp\htdocs\liebesrechner-2.0\.sencha\app\build-impl.xml:120: javax.script.S criptException: sun.org.mozilla.javascript.internal.WrappedException: Wrapped co m.sencha.exceptions.ExBuild: failed running native packager (<Unknown source>#67 3) in <Unknown source> at line number 673
-
9 Feb 2013 7:01 AM #7
I am facing the same error
I am facing the same error
Hey akpotosufredrick,
I am getting the same error as yours. Did you get any solution to that ?
Guys please help me out.
Thanks
-
9 Feb 2013 7:36 AM #8
Hi akpotosufredrick,
Did u get any solution for your issue. I am facing the same issue now.
Please help me out if u did solve ur issue.
Thanks
-
9 Feb 2013 12:45 PM #9
@riku351 -
This thread has wondered through a few different issues and the part you are asking about is no more then the "mobile packager failed and exited with non-zero" ....
So a few quick notes to help us help you:
- Make sure you have the latest Cmd which is 3.0.2
- Start a new thread and post your details: OS, Cmd version, Touch version etc.
- Describe what you have tried and what resulted. If you have organized things differently then a Cmd generated app or changed your sencha.cfg then please mention those particulars.
- Be sure to use "sencha -debug app build" and post the exact log of console output in a CODE block.
If the mobile packager is failing for you, we will probably need your packager.jsonDon Griffin
Ext JS Development Team Lead
Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue
"Use the source, Luke!"
-
10 Feb 2013 7:59 AM #10
Hi Don,
Thanks for the tips.
I tried with all of your previous tips and finally could able to generate the .apk file.
But the .apk is not running on LG Google Nexus 4.
The loading icons never move but the same app is running on HTC device with 4.0
Thanks
Looks like we can't reproduce the issue or there's a problem in the test case provided.


Reply With Quote