我一直在node.js中构建我的phonegap应用程序没有任何问题.突然,当我现在尝试构建时,它显示一些错误,并且没有创建apk.
这是错误:
C:\testapp\platforms\android\cordova\node_modules\q\q.js:126
throw e;
^
Error code 1 for command: cmd with args: /s /c "ant debug -f C:\testapp\platform
s\android\build.xml -Dout.dir=ant-build -Dgen.absolute.dir=ant-gen"
ERROR building one of the platforms: Error: C:\testapp\platforms\android\cordova
\build.bat: Command failed with exit code 1
You may not have the required environment or OS to build this project
Error: C:\testapp\platforms\android\cordova\build.bat: Command failed with exit
code 1
at ChildProcess.whenDone (C:\Users\Vaishakh\AppData\Roaming\npm\node_modules
\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1008:16)
at Process.ChildProcess._handle.onexit (child_process.js:1080:5)
Run Code Online (Sandbox Code Playgroud)
我没有调整任何系统设置/属性.我没有更改或卸载任何东西.这突然发生了.我尝试重新启动但它没有用.
我想使用javascript在动态表中显示一个对象数组.
var rows=[{ name : "John", age:20, email: "xx@hotmail.com"},
{ name : "Jack", age:50, email: "xxx@hotmail.com"},
{ name : "Son", age:45, email: "xxxx@hotmail.com"}
........................etc
];
Run Code Online (Sandbox Code Playgroud)
这就是它的外观.我想知道如何将其显示为动态表.