Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 88737

3.13版本中 modules中包含audio 使用advanced模式编译会报错

$
0
0

@1111132 写道:

报错如下
BUILD FAILED
/Users/Quan/Documents/SVN/tttangme/1/youxin/dev/Youxin-13/publish/20160905165350/build.xml:14: java.lang.RuntimeException: java.lang.IllegalStateException: Expected FUNCTION but was CALL Reference node CALL 228 [free_call: 1] [source_file: /Users/Quan/Documents/SVN/tttangme/1/youxin/dev/Youxin-13/frameworks/cocos2d-html5/cocos2d/audio/CCAudio.js]
at com.google.javascript.jscomp.Compiler.runInCompilerThread(Compiler.java:712)
at com.google.javascript.jscomp.Compiler.compile(Compiler.java:644)
at com.google.javascript.jscomp.Compiler.compile(Compiler.java:600)
at com.google.javascript.jscomp.ant.CompileTask.execute(CompileTask.java:292)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.Main.runBuild(Main.java:851)
at org.apache.tools.ant.Main.startAnt(Main.java:235)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
Caused by: java.lang.IllegalStateException: Expected FUNCTION but was CALL Reference node CALL 228 [free_call: 1] [source_file: /Users/Quan/Documents/SVN/tttangme/1/youxin/dev/Youxin-13/frameworks/cocos2d-html5/cocos2d/audio/CCAudio.js]
at com.google.javascript.jscomp.AstValidator$1.handleViolation(AstValidator.java:51)
at com.google.javascript.jscomp.AstValidator.violation(AstValidator.java:763)
at com.google.javascript.jscomp.AstValidator.validateNodeType(AstValidator.java:768)
at com.google.javascript.jscomp.AstValidator.validateFunctionExpression(AstValidator.java:359)
at com.google.javascript.jscomp.AstValidator.validateObjectLitSetKey(AstValidator.java:712)
at com.google.javascript.jscomp.AstValidator.validateObjectLitKey(AstValidator.java:680)
at com.google.javascript.jscomp.AstValidator.validateObjectLit(AstValidator.java:670)
at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:252)
at com.google.javascript.jscomp.AstValidator.validateAssignmentExpression(AstValidator.java:603)
at com.google.javascript.jscomp.AstValidator.validateExpression(AstValidator.java:219)
at com.google.javascript.jscomp.AstValidator.validateExprStmt(AstValidator.java:476)
at com.google.javascript.jscomp.AstValidator.validateStatement(AstValidator.java:125)
at com.google.javascript.jscomp.AstValidator.validateScript(AstValidator.java:88)
at com.google.javascript.jscomp.AstValidator.validateCodeRoot(AstValidator.java:79)
at com.google.javascript.jscomp.AstValidator.process(AstValidator.java:63)
at com.google.javascript.jscomp.PhaseOptimizer$NamedPass.process(PhaseOptimizer.java:250)
at com.google.javascript.jscomp.PhaseOptimizer.process(PhaseOptimizer.java:198)
at com.google.javascript.jscomp.Compiler.optimize(Compiler.java:1907)
at com.google.javascript.jscomp.Compiler.compileInternal(Compiler.java:751)
at com.google.javascript.jscomp.Compiler.access$000(Compiler.java:83)
at com.google.javascript.jscomp.Compiler$2.call(Compiler.java:647)
at com.google.javascript.jscomp.Compiler$2.call(Compiler.java:644)
at com.google.javascript.jscomp.Compiler$3.call(Compiler.java:674)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)

帖子: 1

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 88737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>