6 Apr 2012 10:11 AM #1
Beta 2 on OSX not a recognized SDK or app folder
I'm having issues with the SDK on OSX 10.7.3. I uninstalled the beta 1 version, but was still having issues. I then noticed the .bash_profile did not remove the path to beta 1. After removing that and verifying the path and system variable are in the .bash_profile to the correct beta 2 path. When inside the SDK beta 2 folder, 'sencha' returns:
[WARN] The current working directory (/Applications/SenchaSDKTools-2.0.0-beta2) is not a recognized Sencha SDK or application folder. Running in backwards compatible mode.
Sencha Command v2.0.0 Beta
Copyright (c) 2012 Sencha Inc.
I have un-installed and re-installed, restarted the mac, etc. with no success. Any ideas? Are there files outside the Application folder that I may still need to clear out from beta 1?
8 Apr 2012 7:25 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
I uninstalled beta 1 to install beta 2 on Lion without any issue. I use Sencha Command from the Sencha Touch 2 directory.
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
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 firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
10 Apr 2012 4:27 PM #3
[WARN] The current working directory (/Projects/SenchaTouch2) is not recognised
Hi there. I am having the same issue on OSX 10.6.8. Did anyone find a resolution? Thanks.
11 Apr 2012 3:34 AM #4
Still no word. Still an issue. I wonder if this is due to the recent java patches?
12 Apr 2012 12:07 AM #5
Still not working
Not sure. I have tried everything but can't get it to work. We had high hopes here, but after two weeks of trying to get this product to work my organization wants to move on and try something more robust ... Probably go back to the faithful Adobe suite
25 May 2012 6:19 AM #6
SOLVED on MAC
I solved this problem on my mac like this:
Identify the folder of the SDK. In my mac is \Developer\SDKs
Download the free Sencha Touch 2 SDK and SDK Tools from the Sencha website.
Start the installation of SDK Tools and when the installation asks for the install path, choose \Developer\SDKs .
Extract the Sencha Touch 2 SDK zip file in the folder \Developer\SDKs
Open a line commad and go to the path \Developer\SDKs
Try now the command "sencha" or "sencha generate app GS ../GS"
So the important things are two
Install sdk tools and Sencha Touch 2 SDK in the path \Developer\SDKs
Execute the command only from path \Developer\SDKs
In my mac works good.
25 May 2012 4:55 PM #7
SOLVED ON OSX 10.7.4
I had the same problem with my MacBook Pro running Lion OSX 10.7.4 -- SDK wasn't recognised from any folder.
The fix was quite funny though:
I added file .senchasdk to the Sencha folder. The content of the file is one dot (".")
in the terminal it can be something like this:
sudo nano /path/to/sencha/.senchasdk
so, in a nutshell, the installation is as following :
1. Install Sencha Tools and Sencha Touch 2 SDK in the same folder (e.g. /Users/username/Developer/SDKs
2. add missing .senchasdk to /Users/username/Developer/SDKs
3. try to type sencha now (staying in /Users/username/Developer/SDKs folder)
I also configured OSX Lion's Finder to show hidden files, like so (in the terminal):
defaults write com.apple.Finder AppleShowAllFiles YES
8 Jun 2012 12:08 AM #8
no way , not work here
not work here,
sdks ./sencha[WARN] The current working directory (/Users/denny/git/sdks) is not a recognized Sencha SDK or application folder. Running in backwards compatible mode.
Sencha Command v2.0.0 Beta 3Copyright (c) 2012 Sencha Inc.
usage: sencha COMMAND [ARGS]
The available commands are:build build a JSB projectcreate bootstrapdata generate boostrap datacreate jsb generate a minimal JSB project for an appcreate locale generate a template locale file from sourcecreate manifest generate classes manifestpackage package your Touch web app into a native bundleslice theme slice a custom theme's images for IE
See 'sencha help COMMAND' for more information on a specific command.➜ sdks ./sencha generate[ERROR] The current working directory (/Users/denny/git/sdks) is not a recognized Sencha SDK or application folderget error message
8 Jun 2012 3:04 AM #9
did you create.senchasdk file inside?
11 Jun 2012 9:16 PM #10
add . .senchasdk
yes, I add this file, but what is content, here is blank.