简体   繁体   English

钛合金编译无法安装设备Android

[英]Titanium Alloy compile failed to install device Android

first time i try to run my first application when i made with titanium, and then i tray to install my application to my device from titanium studio. 第一次使用钛制成时,我尝试运行我的第一个应用程序,然后从钛制工作室托盘安装我的应用程序到我的设备。 i have changed my device to debugging mode and then i try install my application to my device from titanium studio but i get this message error from console: 我已将设备更改为调试模式,然后尝试从Titan Studio将应用程序安装到设备上,但从控制台收到此消息错误:

[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

can anybody help me why this happen ?what should i do ? 有人可以帮助我为什么会发生这种情况吗?我该怎么办?

When I tried to create a new mobile project (right after a fresh Titanium Studio install) I was getting the following error message: 当我尝试创建一个新的移动项目时(在全新安装Titanium Studio之后),我收到以下错误消息:

'node' is not recognized as an internal or external command, operable program or batch file. 无法将“节点”识别为内部或外部命令,可操作程序或批处理文件。

I had Node.JS Version: v0.8.22 version installed. 我安装了Node.JS版本:v0.8.22版本。

Upgrading Node.JS ( http://nodejs.org/ ) to the most recent Version: v0.10.9 fixed the issue for me. 将Node.JS( http://nodejs.org/ )升级到最新版本:v0.10.9为我解决了该问题。

您在计算机上安装了nodeJS吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM