1. #1
    Sencha User
    Join Date
    Sep 2012
    Posts
    17
    Vote Rating
    0
    rotten69 is on a distinguished road

      0  

    Default Unanswered: Can't build an app for android platform in sencha touch 2.. please help

    Unanswered: Can't build an app for android platform in sencha touch 2.. please help


    Hi there,
    I am new to this community and think the sencha-touch SDK has a lot to offer.I am trying to compile a sencha touch 2 project to build an android app but it doesn't compile fully and successfully.When I run this command sencha app build native targeting android/iOS platform, the error I get is as follows below:

    Code:
    [WRN]           [ [1000] : Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initial izer =>                     }    ] :: ( C:\wamp\www\sencha-touch\GS\app\view\Blog.js => 24 : 21 ) [WRN]           [ [1000] : Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initial izer =>                         }, ] :: ( C:\wamp\www\sencha-touch\GS\app\view\Main.js => 13 : 4 ) [WRN]           [ [1000] : Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initial izer =>                         }, ] :: ( C:\wamp\www\sencha-touch\GS\app\view\Main.js => 17 : 4 ) [WRN]           [ [1000] : Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initial izer =>             } ] :: ( C:\wamp\www\sencha-touch\GS\app\view\Main.js => 22 : 13 ) [INF]           Processing class inheritance graph [INF]           Processing instantiation refereces to classes and aliases [WRN]           [ [1000] : Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initial izer =>                     }    ] :: ( C:\wamp\www\sencha-touch\GS\app\view\Blog.js => 24 : 21 ) [WRN]           [ [1000] : Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initial izer =>                         }, ] :: ( C:\wamp\www\sencha-touch\GS\app\view\Main.js => 13 : 4 ) [WRN]           [ [1000] : Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initial izer =>                         }, ] :: ( C:\wamp\www\sencha-touch\GS\app\view\Main.js => 17 : 4 ) [WRN]           [ [1000] : Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initial izer =>             } ] :: ( C:\wamp\www\sencha-touch\GS\app\view\Main.js => 22 : 13 ) [INF]           Processing source dependencies [WRN]           [ [1000] : Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initial izer =>                         }, ] :: ( C:\wamp\www\sencha-touch\GS\app\view\Main.js => 13 : 4 ) [WRN]           [ [1000] : Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initial izer =>                         }, ] :: ( C:\wamp\www\sencha-touch\GS\app\view\Main.js => 17 : 4 ) [WRN]           [ [1000] : Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initial izer =>             } ] :: ( C:\wamp\www\sencha-touch\GS\app\view\Main.js => 22 : 13 ) [WRN]           [ [1000] : Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initial izer =>                     }    ] :: ( C:\wamp\www\sencha-touch\GS\app\view\Blog.js => 24 : 21 ) [INF]           Concatenating output to file C:\wamp\www\sencha-touch\GS\build\GS\package\app.js [INF]           Completed compilation. [INF]           Processed remote file touch/sencha-touch.js [INF]           Processed local file app.js [INF]           Minified app.js [INF]           Minified resources/css/app.css [INF]           Generated app.json [INF]           Embedded microloader into index.html [ERR]           BUILD FAILED [ERR]           com.sencha.exceptions.BasicException: The following error occurred while executing this line: [ERR]           C:\wamp\www\sencha-touch\GS\.sencha\app\build-impl.xml:120: javax.script.ScriptException: sun. org.mozilla.javascript.internal.EcmaError: SyntaxError: unterminated string literal (<Unknown source>#22(eval) #132) in <Unknown source>#22(eval) at line number 132 [ERR]                   at com.sencha.exceptions.BasicException.wrap(BasicException.java:43) [ERR]                   at com.sencha.cli.Command.dispatch(Command.java:104) [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49) [ERR]                   at com.sencha.cli.AbstractCommand.dispatch(AbstractCommand.java:182) [ERR]                   at com.sencha.ant.SenchaCommandTask.doExecute(SenchaCommandTask.java:58) [ERR]                   at com.sencha.ant.BaseAntTask.execute(BaseAntTask.java:22) [ERR]                   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source) [ERR]                   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [ERR]                   at org.apache.tools.ant.Task.perform(Task.java:348) [ERR]                   at org.apache.tools.ant.Target.execute(Target.java:392) [ERR]                   at org.apache.tools.ant.Target.performTasks(Target.java:413) [ERR]                   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [ERR]                   at org.apache.tools.ant.Project.executeTarget(Project.java:1368) [ERR]                   at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)  [ERR]                   at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [ERR]                   at com.sencha.ant.AntRunner.run(AntRunner.java:156) [ERR]                   at com.sencha.ant.AntRunner.run(AntRunner.java:72) [ERR]                   at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java :87) [ERR]                   at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java :91) [ERR]                   at com.sencha.command.BasePluginCommands$BaseNamePathCommand.run(BasePluginCommands.ja va:135) [ERR]                   at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:106) [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source) [ERR]                   at com.sencha.cli.Command.dispatch(Command.java:78) [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49) [ERR]                   at com.sencha.cli.Commands.dispatch(Commands.java:49) [ERR]                   at com.sencha.command.Sencha.main(Sencha.java:71) [ERR]           Caused by: C:\wamp\www\sencha-touch\GS\.sencha\app\build-impl.xml:126: The following error occ urred while executing this line: [ERR]           C:\wamp\www\sencha-touch\GS\.sencha\app\build-impl.xml:120: javax.script.ScriptException: sun. org.mozilla.javascript.internal.EcmaError: SyntaxError: unterminated string literal (<Unknown source>#22(eval) #132) in <Unknown source>#22(eval) at line number 132 [ERR]                   at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:5 51) [ERR]                   at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444) [ERR]                   at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105) [ERR]                   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [ERR]                   at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source) [ERR]                   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [ERR]                   at org.apache.tools.ant.Task.perform(Task.java:348) [ERR]                   at org.apache.tools.ant.Target.execute(Target.java:392) [ERR]                   at org.apache.tools.ant.Target.performTasks(Target.java:413) [ERR]                   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [ERR]                   at org.apache.tools.ant.Project.executeTarget(Project.java:1368) [ERR]                   at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)  [ERR]                   at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [ERR]                   at com.sencha.ant.AntRunner.run(AntRunner.java:156) [ERR]                   at com.sencha.ant.AntRunner.run(AntRunner.java:80) [ERR]                   at com.sencha.command.ant.AntCommand.execute(AntCommand.java:75) [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source) [ERR]                   at com.sencha.cli.Command.dispatch(Command.java:78) [ERR]                   ... 31 more [ERR]           Caused by: C:\wamp\www\sencha-touch\GS\.sencha\app\build-impl.xml:120: javax.script.ScriptExce ption: sun.org.mozilla.javascript.internal.EcmaError: SyntaxError: unterminated string literal (<Unknown sourc e>#22(eval)#132) in <Unknown source>#22(eval) at line number 132 [ERR]                   at org.apache.tools.ant.util.ReflectUtil.toBuildException(ReflectUtil.java:183) [ERR]                   at org.apache.tools.ant.util.ReflectUtil.throwBuildException(ReflectUtil.java:166) [ERR]                   at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:110) [ERR]                   at org.apache.tools.ant.util.ReflectWrapper.invoke(ReflectWrapper.java:81) [ERR]                   at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunn er.java:103) [ERR]                   at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunne r.java:67) [ERR]                   at org.apache.tools.ant.taskdefs.optional.script.ScriptDef.executeScript(ScriptDef.jav a:350) [ERR]                   at org.apache.tools.ant.taskdefs.optional.script.ScriptDefBase.execute(ScriptDefBase.j ava:50) [ERR]                   at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [ERR]                   at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source) [ERR]                   at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [ERR]                   at org.apache.tools.ant.Task.perform(Task.java:348) [ERR]                   at org.apache.tools.ant.Target.execute(Target.java:392) [ERR]                   at org.apache.tools.ant.Target.performTasks(Target.java:413) [ERR]                   at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [ERR]                   at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor. java:38) [ERR]                   at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [ERR]                   at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) [ERR]                   ... 52 more [ERR]           Caused by: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: Syntax Error: unterminated string literal (<Unknown source>#22(eval)#132) in <Unknown source>#22(eval) at line number  132 [ERR]                   at com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source) [ERR]                   at com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source) [ERR]                   at javax.script.AbstractScriptEngine.eval(Unknown Source) [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERR]                   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [ERR]                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERR]                   at java.lang.reflect.Method.invoke(Unknown Source) [ERR]                   at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:108) [ERR]                   ... 69 more [ERR]           Caused by: sun.org.mozilla.javascript.internal.EcmaError: SyntaxError: unterminated string lit eral (<Unknown source>#22(eval)#132) [ERR]                   at sun.org.mozilla.javascript.internal.ScriptRuntime.constructError(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.DefaultErrorReporter.error(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.addError(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.addError(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.addError(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.TokenStream.getToken(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.peekToken(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.assignExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.plainProperty(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.objectLiteral(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.primaryExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.memberExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.unaryExpr(Unknown Source) [ERR]                   a [ERR]           t sun.org.mozilla.javascript.internal.Parser.mulExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.addExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.shiftExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.relExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.eqExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.bitAndExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.bitXorExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.bitOrExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.andExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.orExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.condExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.assignExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.expr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.parenExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.primaryExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.memberExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.unaryExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.mulExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.addExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.shiftExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.relExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.eqExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.bitAndExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.bitXorExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.bitOrExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.andExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.orExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.condExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.assignExpr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.expr(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.statementHelper(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.statement(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.parse(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Parser.parse(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Context.compileImpl(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Context.compileString(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.ScriptRuntime.evalSpecial(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.ScriptRuntime.callSpecial(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Interpreter.interpretLoop(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Interpreter.interpret(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.InterpretedFunction.call(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.ContextFactory.doTopCall(Unknown Source) [ERR]                   at com.sun.script.javascript.RhinoScriptEngine$1.superDoTopCall(Unknown Source) [ERR]                   at com.sun.script.javascript.RhinoScriptEngine$1.doTopCall(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.ScriptRuntime.doTopCall(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.InterpretedFunction.exec(Unknown Source) [ERR]                   at sun.org.mozilla.javascript.internal.Context.evaluateReader(Unknown Source) [ERR]                   ... 77 more [ERR]           Total time: 21 seconds  [ERR]           com.sencha.exceptions.BasicException: The following error occurred while executing this line: C:\wamp\www\sencha-touch\GS\.sencha\app\build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.java script.internal.EcmaError: SyntaxError: unterminated string literal (<Unknown source>#22(eval)#132) in <Unknow n source>#22(eval) at line number 132



    ERR] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [ERR] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [ERR] at com.sencha.ant.AntRunner.run(AntRunner.java:156) [ERR] at com.sencha.ant.AntRunner.run(AntRunner.java:72) [ERR] at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java :87) [ERR] at com.sencha.command.BasePluginCommands$BasePluginCommand.run(BasePluginCommands.java :91) [ERR] at com.sencha.command.BasePluginCommands$BaseNamePathCommand.run(BasePluginCommands.ja va:135) [ERR] at com.sencha.command.app.AppCommands$BuildCommand.execute(AppCommands.java:106) [ERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERR] at java.lang.reflect.Method.invoke(Unknown Source) [ERR] at com.sencha.cli.Command.dispatch(Command.java:78) [ERR] at com.sencha.cli.Commands.dispatch(Commands.java:49) [ERR] at com.sencha.cli.Commands.dispatch(Commands.java:49) [ERR] at com.sencha.command.Sencha.main(Sencha.java:71) [ERR] Caused by: C:\wamp\www\sencha-touch\GS\.sencha\app\build-impl.xml:126: The following error occ urred while executing this line: [ERR] C:\wamp\www\sencha-touch\GS\.sencha\app\build-impl.xml:120: javax.script.ScriptException: sun. org.mozilla.javascript.internal.EcmaError: SyntaxError: unterminated string literal (<Unknown source>#22(eval) #132) in <Unknown source>#22(eval) at line number 132 [ERR] at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:5 51) [ERR] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:444) [ERR] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105) [ERR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [ERR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) [ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERR] at java.lang.reflect.Method.invoke(Unknown Source) [ERR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [ERR] at org.apache.tools.ant.Task.perform(Task.java:348) [ERR] at org.apache.tools.ant.Target.execute(Target.java:392) [ERR] at org.apache.tools.ant.Target.performTasks(Target.java:413) [ERR] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [ERR] at org.apache.tools.ant.Project.executeTarget(Project.java:1368) [ERR] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) [ERR] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [ERR] at com.sencha.ant.AntRunner.run(AntRunner.java:156) [ERR] at com.sencha.ant.AntRunner.run(AntRunner.java:80) [ERR] at com.sencha.command.ant.AntCommand.execute(AntCommand.java:75) [ERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERR] at java.lang.reflect.Method.invoke(Unknown Source) [ERR] at com.sencha.cli.Command.dispatch(Command.java:78) [ERR] ... 31 more [ERR] Caused by: C:\wamp\www\sencha-touch\GS\.sencha\app\build-impl.xml:120: javax.script.ScriptExce ption: sun.org.mozilla.javascript.internal.EcmaError: SyntaxError: unterminated string literal (<Unknown sourc e>#22(eval)#132) in <Unknown source>#22(eval) at line number 132 [ERR] at org.apache.tools.ant.util.ReflectUtil.toBuildException(ReflectUtil.java:183) [ERR] at org.apache.tools.ant.util.ReflectUtil.throwBuildException(ReflectUtil.java:166) [ERR] at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:110) [ERR] at org.apache.tools.ant.util.ReflectWrapper.invoke(ReflectWrapper.java:81) [ERR] at org.apache.tools.ant.util.optional.JavaxScriptRunner.evaluateScript(JavaxScriptRunn er.java:103) [ERR] at org.apache.tools.ant.util.optional.JavaxScriptRunner.executeScript(JavaxScriptRunne r.java:67) [ERR] at org.apache.tools.ant.taskdefs.optional.script.ScriptDef.executeScript(ScriptDef.jav a:350) [ERR] at org.apache.tools.ant.taskdefs.optional.script.ScriptDefBase.execute(ScriptDefBase.j ava:50) [ERR] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) [ERR] at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) [ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERR] at java.lang.reflect.Method.invoke(Unknown Source) [ERR] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) [ERR] at org.apache.tools.ant.Task.perform(Task.java:348) [ERR] at org.apache.tools.ant.Target.execute(Target.java:392) [ERR] at org.apache.tools.ant.Target.performTasks(Target.java:413) [ERR] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) [ERR] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor. java:38) [ERR] at org.apache.tools.ant.Project.executeTargets(Project.java:1251) [ERR] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442) [ERR] ... 52 more [ERR] Caused by: javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: Syntax Error: unterminated string literal (<Unknown source>#22(eval)#132) in <Unknown source>#22(eval) at line number 132 [ERR] at com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source) [ERR] at com.sun.script.javascript.RhinoScriptEngine.eval(Unknown Source) [ERR] at javax.script.AbstractScriptEngine.eval(Unknown Source) [ERR] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [ERR] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [ERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [ERR] at java.lang.reflect.Method.invoke(Unknown Source) [ERR] at org.apache.tools.ant.util.ReflectUtil.invoke(ReflectUtil.java:108) [ERR] ... 69 more [ERR] Caused by: sun.org.mozilla.javascript.internal.EcmaError: SyntaxError: unterminated string lit eral (<Unknown source>#22(eval)#132) [ERR] at sun.org.mozilla.javascript.internal.ScriptRuntime.constructError(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.DefaultErrorReporter.error(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.addError(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.addError(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.addError(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.TokenStream.getToken(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.peekToken(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.assignExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.plainProperty(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.objectLiteral(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.primaryExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.memberExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.unaryExpr(Unknown Source) [ERR] a [ERR] t sun.org.mozilla.javascript.internal.Parser.mulExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.addExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.shiftExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.relExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.eqExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.bitAndExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.bitXorExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.bitOrExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.andExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.orExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.condExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.assignExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.expr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.parenExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.primaryExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.memberExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.unaryExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.mulExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.addExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.shiftExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.relExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.eqExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.bitAndExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.bitXorExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.bitOrExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.andExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.orExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.condExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.assignExpr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.expr(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.statementHelper(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.statement(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.parse(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Parser.parse(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Context.compileImpl(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Context.compileString(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.ScriptRuntime.evalSpecial(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.ScriptRuntime.callSpecial(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Interpreter.interpretLoop(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Interpreter.interpret(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.InterpretedFunction.call(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.ContextFactory.doTopCall(Unknown Source) [ERR] at com.sun.script.javascript.RhinoScriptEngine$1.superDoTopCall(Unknown Source) [ERR] at com.sun.script.javascript.RhinoScriptEngine$1.doTopCall(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.ScriptRuntime.doTopCall(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.InterpretedFunction.exec(Unknown Source) [ERR] at sun.org.mozilla.javascript.internal.Context.evaluateReader(Unknown Source) [ERR] ... 77 more [ERR] Total time: 21 seconds [ERR] com.sencha.exceptions.BasicException: The following error occurred while executing this line: C:\wamp\www\sencha-touch\GS\.sencha\app\build-impl.xml:120: javax.script.ScriptException: sun.org.mozilla.java script.internal.EcmaError: SyntaxError: unterminated string literal (<Unknown source>#22(eval)#132) in <Unknow n source>#22(eval) at line number 132 With this type of error, how do I go about debugging it? from what line do I start? Do I need to fix the warnings & errors or just errors?

    Could anyone help with the problem?

  2. #2
    Sencha User
    Join Date
    Sep 2012
    Posts
    17
    Vote Rating
    0
    rotten69 is on a distinguished road

      0  

    Default


    Any help please?

  3. #3
    Sencha User
    Join Date
    Nov 2011
    Location
    England
    Posts
    135
    Answers
    11
    Vote Rating
    7
    george.m is on a distinguished road

      0  

    Default


    I've been having major problems with Sencha Cmd and it's really frustrating so I feel your pain.

    I noticed in some of your errors that you have:

    Code:
    Yui Compressor Warning <> Trailing comma is not legal in an ECMA-262 object initial izer =>                     }    ] :: ( C:\wamp\www\sencha-touch\GS\app\view\Blog.js => 24 : 21 ) [WRN]
    You should get rid of those errors by removing the trailing commas from your files. In this case, go to your view file Blog.js and remove the trailing comma from line 24. These are affecting your build.

  4. #4
    Sencha User
    Join Date
    Sep 2012
    Posts
    17
    Vote Rating
    0
    rotten69 is on a distinguished road

      0  

    Default Thank you

    Thank you


    Thank you for the help. I didn't know the compiler is so picky on little things. Now, the problem with build stage. When I try building my app, I get this error "On line 120 in build-imp.xml" that complains about this command "<x-app-build/>" in the XML file. However, when that is deleted/commented out, then the app gets built successfully. Is that a problem that everyone is experiencing or a bug in the SDK tools?

    On windows, if you want to specify a directory folder, you'd use a back-slash \. Does this cause a problem when specifying the path to Android SDKs ? because the packager.json uses a forward-slash instead.

    I installed the SDK command tools and sencha-touch-2 SDK on my macbook pro but the command line "sencha" is not recognized for some reason ( as it is not installed). Anyway, I built my app on a windows 7 machine and put it on a usb drive to transfer it to the mac machine. Unfortunately, I was unable to install it on my iPhone through either the mac or windows machine. How do I fix this?



    Thank you.

  5. #5
    Sencha User
    Join Date
    Dec 2012
    Posts
    2
    Vote Rating
    0
    sivaneshl is on a distinguished road

      0  

    Default


    I am also having the same problems you have said, did you get an answer? Please help if you have a solution.

  6. #6
    Sencha Premium Member IAmCoder's Avatar
    Join Date
    Mar 2012
    Posts
    33
    Answers
    4
    Vote Rating
    1
    IAmCoder is on a distinguished road

      0  

    Default


    You can try manually building it with PhoneGap.

  7. #7
    Sencha User
    Join Date
    Sep 2012
    Posts
    17
    Vote Rating
    0
    rotten69 is on a distinguished road

      0  

    Default


    I tried phoneGap but to be very frank with you, it doesn't give users a native app like experience. E.g when you scroll up & down, the panel scrolls too and you can see a black/greyish background behind it. If you think that can be fixed, then I will definitely give it a go.

    I would appreciate some help from someone who has got enough experience with sencha touch to tell me what the problem is. I find it really hard to get instant help on this forum, Am I on the right right?

  8. #8
    Sencha Premium Member
    Join Date
    Feb 2012
    Location
    Berne, Switzerland
    Posts
    698
    Answers
    41
    Vote Rating
    40
    ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about ingo.hefti has a spectacular aura about

      0  

    Default


    I haven't tried with PhoneGap yet. But I'm doing pretty fine with the Sencha Packager. If you have a working project (in the browser) that you can share (or pm me), I would be happy to give it a try on my side.

  9. #9
    Sencha User
    Join Date
    Nov 2011
    Location
    England
    Posts
    135
    Answers
    11
    Vote Rating
    7
    george.m is on a distinguished road

      0  

    Default


    I couldn't build my app natively using Sencha Cmd either so I ended up building it with phonegap. I don't see how it would add issues to your js code?

  10. #10
    Sencha User
    Join Date
    Sep 2012
    Posts
    17
    Vote Rating
    0
    rotten69 is on a distinguished road

      0  

    Default


    Is it a native app? Like YouTube app or a webview which sucks if you have a navigation tab. the layout (panel) scrolls too easily which I don't want to happen in my app.

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar