Appcelerator doesn't detect android SDK

484 Views Asked by At

I have tried installing Appcelerator studio several times but no success, It doesn't detect android studio !! and displaying:

[EDIT]: link to jira ticket

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

I tried to remove android sdk and install again in c:\android-sdk and I tried to reinstall JDK. I have googled for solution but nothing :-(

  • Windows 7 64bit
  • Android sdk
  • Android ndk
  • Genymotion
  • node.js
  • Android studio

When I try to run 'appc info' I get an error:

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>

And when trying to run 'appc setup' I get the same error:

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>

It been a while fighting to run appcelerator with no success, any help will be appreciated :-)

1

There are 1 best solutions below

0
On

spawn cmd ENOENT ?? I believe issue might be with your windows os environment.

For some people adding C:\Windows\System32\ to the PATH Environment helped. Give a try!