2 Apr 2012 6:55 AM #1
Can't set SDKTools v2 Path in Windows
I realize this is probably a newby error, but I can't seem to figure out why Secha Designer 2.0 can't seem to find the sencha.js file. I'm getting an error message stating "Error: Can not find ..\command\sencha.js The specified config file "C:/Sencha" does not exist." Any help would be appreciated. Thanks!! Gregg
17 Apr 2012 7:21 AM #2
I have the same problem in 2.0.0 GA. (build 410)
Architect confirms that the SDK-tools are installed, gives the package.json options and let me save and deploy.
Then it gives the error message:
Error: Can not find ..\command\sencha.js ""C:\Program Files (x86)\Android\android-sdk\tools\android" create project --target android-7 --name EcoInteractive --activity STActivity --path build/\ --package no.ecoconsult.EcoInteractive" Can not open destination file for writing Failed to copy packager library Failed to package application
All forum quotes etc about deploying from the designer has been in the area "Yes, we have a lot to do on the deploy and packaging side of things.." So, testing this in the beta seemed useless, since you where aware of the problem.
The other SDK-tools problems was related to 64-bit windows, and installing in the x86 folder. Is this still a problem with the latest sdk-tools beta?Sven Tore Iversen
17 Apr 2012 7:35 AM #3
In settings: application
SDK Tools V2 Path: should be something like this - /Applications/SenchaSDKTools-2.0.0-Beta
do no go below this like into bin/Phil Strong
17 Apr 2012 7:43 AM #4
But where should one configure the SDK v2 path in Architect?
I guess the "sdkPath" is the android sdk-path. As in the samples docs, and the error message.
Error message referes to the tools catalog in the android sdk.Sven Tore Iversen
17 Apr 2012 7:49 AM #5
Btw, docs state "*Sencha SDK Tools. Download and install the SDK Tools, and then set the SDK Tools path in Architect to the location where you install the tools. Go to Settings-->Application and enter the location in the SDK Tools V2 path field."
But this option does not exist in Settings, on 2.0.0 GA on Win 7 64.
Capture.jpgSven Tore Iversen
17 Apr 2012 9:56 AM #6
Yes this is incorrectly missing from Windows as when it first came out only OSX had SDKTools2 access. Expect a hot patch for this.Phil Strong
17 Apr 2012 9:58 AM #7
Also note that on Windows the first
Error: Can not find ..\command\sencha.js
This is because of an issue related to sdktools that for windows fails reliably the first time it's run so you'll notice sencha is running all by itself first to get past this issue.Phil Strong
17 Apr 2012 10:06 AM #8
17 Apr 2012 11:18 AM #9
17 Apr 2012 12:17 PM #10
So.. I guess the path is not needed, since architect confirms it is installed. But still no direct build on windowsSven Tore Iversen