2013-04-10 103 views
0

第一次我尝试运行我的第一个应用程序时,我用钛做的,然后我托盘从钛工作室安装我的应用程序到我的设备。我已经改变了我的设备调试模式,然后我尝试我的应用程序由钛工作室安装到我的设备,但我从控制台得到这个消息的错误:钛合金编译未能安装设备Android

[INFO] logfile = C:\Users\user\My Documents\Titanium_Studio_Workspace\DStray\build.log 
[DEBUG] C:\Users\zakki.a\AppData\Roaming\Titanium\mobilesdk\win32\3.0.2.GA\android\builder.py install DStray C:\KANTOR\tools\adt-bundle-windows-x86\sdk C:\Users\user\My Documents\Titanium_Studio_Workspace\DStray com.dstray.user 4 
[INFO] plugin=C:\Users\user\AppData\Roaming\Titanium\plugins\ti.alloy\1.0\plugin.py 
[INFO] Detected compiler plugin: ti.alloy/1.0 
[INFO] alloy app found at C:\Users\user\My Documents\Titanium_Studio_Workspace\DStray\app 
[INFO] Executing Alloy compile: 
[INFO] alloy.cmd compile C:\Users\user\My Documents\Titanium_Studio_Workspace\DStray\app --no-colors --config platform=android,version=8,simtype=none,devicefamily=none,deploytype=test, 
'node' is not recognized as an internal or external command, 

operable program or batch file. 


[ERROR] Alloy compile failed 

任何人可以帮助我,为什么出现这种情况我应该怎么办?

回答

1

当我试图创建一个新的移动项目(新鲜钛工作室安装后右)我正在以下错误消息:

“节点”未被识别为内部或外部命令,可操作 程序或批处理文件。

我安装了Node.JS版本:v0.8.22版本。

升级的Node.js(http://nodejs.org/)到最新版本:v0.10.9固定我的问题。

0

您是否在您的计算机上安装了nodeJS?

+0

是的,我没有安装nodejs – 2013-04-22 01:30:24

+0

这个答案应该是一个评论 – Nick 2013-12-23 03:22:21