Appcelerator没有检测到android SDK

我已经尝试过几次安装Appcelerator工作室但没有成功,它没有检测到android studio !!并显示:

[编辑]:link to jira ticket

["Expected ')'","",1]
["Expected ')'","",1]
["Unable to set property 'sdkInfo' of undefined or null reference","https://appc-studio.appcelerator.com/",198]

我试图删除android sdk并再次安装在c:\ android-sdk中,我尝试重新安装JDK . 我用google搜索解决方案,但没有:-(

  • Windows 7 64位

  • Android sdk

  • Android ndk

  • Genymotion

  • node.js

  • Android工作室

当我尝试运行'appc info'时出现错误:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\xxxx>appc info
Appcelerator Command-Line Interface, version 5.2.0
Copyright (c) 2014-2016, Appcelerator, Inc.  All Rights Reserved.

An uncaught exception was thrown!
spawn cmd ENOENT
spawn cmd ENOENT

C:\Users\xxxx>

当尝试运行'appc setup'时,我得到了同样的错误:

C:\Users\xxxx>appc setup
Finding latest version ...5.2.0 OK
Version 5.2.0 already installed.
? Do you plan on developing Titanium apps? Yes

Checking your environment...

An uncaught exception was thrown!
spawn cmd ENOENT
spawn cmd ENOENT

C:\Users\xxxx>

一段时间没有成功运行appcelerator的战斗,任何帮助将不胜感激:-)

回答(1)

2 years ago

产卵cmd ENOENT?我相信问题可能出在你的windows os环境中 .

对于一些人来说,将C:\ Windows \ System32 \添加到PATH环境帮助 . 试一下!