Hybrid View
-
16 Apr 2012 8:11 AM #1
"Not a recognized Sencha SDK or application folder" on OSX w/2.0.0 Beta 2 / 2.0.1-rc
"Not a recognized Sencha SDK or application folder" on OSX w/2.0.0 Beta 2 / 2.0.1-rc
I've installed Sencha Touch SDK 2.0.1 RC and Sencha SDK Tools 2.0.0 Beta 2 on OSX Lion 10.7.3.
When I change to the Sencha Touch SDK directory and issue the 'sencha' command, I get an error:
I'm certain that I'm in the Touch SDK 2.0.1RC folder (version.txt says 2.0.1-rc) and that the SDK Tools 2.0.0 Beta 2 bin folder is on the path.Code:[WARN] The current working directory (/Appplications/MAMP/htdocs/sencha-touch-sdk-2.0.1-rc) is not a recognized Sencha SDK or application folder. Running in backwards compatiblity mode.
I don't know if it's a clue or not, but I am running with the latest Java runtime, 1.6.0_31
Any suggestions would be appreciated!
-
16 Apr 2012 8:13 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,624
- Vote Rating
- 434
java has no bearing. Is your path correct?
Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
https://github.com/mitchellsimoens
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services services@sencha.com
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!
When posting code, please use BBCode's CODE tags.
-
16 Apr 2012 8:20 AM #3
I believe so:
(yes I realize the path references the previous SDK beta version also, but that folder has been completely deleted.)Code:admins-iMac:sencha-touch-sdk-2.0.1-rc admin$ echo $PATH /Applications/SenchaSDKTools-2.0.0-beta2:/Applications/SenchaSDKTools-2.0.0-Beta/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
Working directory is correct too:
But no dice.Code:admins-iMac:sencha-touch-sdk-2.0.1-rc admin$ pwd /Applications/MAMP/htdocs/sencha-touch-sdk-2.0.1-rc
I asked about Java because the previous SDK tools installer ran without any issues, but when I ran the 2.0.0 Beta 2 installer, it complained that it couldn't find Java on the machine. So I installed the latest Java from Apple, restarted the machine and the installer ran fine.
-
17 Apr 2012 8:10 AM #4
Any other suggestions? Seems odd that I'm the only one with this problem!
-
20 Apr 2012 7:01 AM #5
Same Issu
Same Issu
I have same issue. What I have is a copy of my application folder. All components are there however I get same error.
-
20 Apr 2012 7:21 AM #6
I seem to have found the issue in my circumstance. There is a system level file called .senchasdk which was not present in the folder. When I copied that over the build worked.
-
14 Jul 2012 10:46 AM #7
you need to have a file called .senchsdk for the sencha command to work
the sencha command looks for this file to determine its actions..
i created a secha project, move it around and the sencha command started giving the error u have mentioned. this happened because .senchsdk was a hidden file and was never copied around
Solution is simple. In your sencha project folder create a file called .senchasdk
its content should be: sdk
thats it. now u r set. and the command should work.
PS: its content is the path to the directory where sencha sdk is. by default that should be sdk
-
24 Jul 2012 4:56 PM #8
Ugh, I keep getting this problem as well, I've tried some of these fixes but I have not tried the .senchsdk yet. The issue I am having though is the path issue but it said the build and sign is successful. I'm launching the packaging function from the Architect tool though. I don't know how much of a difference that makes. I'm using the latest version of Architect, SDK and SDK Tools. I get the app create but it throws that error. It however runs in the simulator and I can add it to iTunes but when I try to put it on my device either with iTunes or Xcode, I get install errors. I've literally been racking my brain on this all day. I've got my device set up in the provisioning portal, I've got my cert, I've got my App ID, etc..
I actually moved the SDK into the /red directory to try that. My app wound up being 187 mb and all it is, is a red screen. That's all I tried to test this with.
cd /Users/ashapiro75/Documents/SenchaProjects/red/
sencha package packager.json
[ERROR] The current working directory (/Users/ashapiro75/Documents/SenchaProjects/red) is not a recognized Sencha SDK or application folder
The application was successfully packaged
The application was successfuly signed
logout
So I take the .app that it creates, I put it into iTunes, try to add it to my device and I get an error... I'm about to give up on Sencha, it seems every time I get something down, something else changes and I feel like I am chasing my tail.
-
11 Aug 2012 3:28 AM #9
I've found a solution in Mac
I've found a solution in Mac
All the trouble seems to be related to that .senchasdk file at the root of the SDK folder.
In order to make sure that the file is there:
- use the downloaded folder of the SDK as it is -> don't try to copy its contents into a different folder. I've done that and the dammed .senchasdk is not copied.
Once you launch the "sencha" command from the SDK folder, everything works fine.
Hope it helps,
Fernando
Thank you for reporting this bug. We will make it our priority to review this report.


Reply With Quote