-
22 Dec 2012 4:28 PM #41
Worked for me in OSX LION. I've been executing from SDK folder not sdktools.. although i got this problem..
romans-imac-2% sencha generate app GS ../GS
node.js:201
throw e; // process.nextTick error, or 'error' event on first tick
^
Error: Cannot find module '/Users/holms/Development/sencha/touch/command/sencha.js'
at Function._resolveFilename (module.js:332:11)
at Function._load (module.js:279:25)
at Array.0 (module.js:479:10)
at EventEmitter._tickCallback (node.js:192:40)
-
14 Mar 2013 3:31 AM #42
The current working directory (D:\Test SenchaSDKTools) is not a recognized Sencha SDK
The current working directory (D:\Test SenchaSDKTools) is not a recognized Sencha SDK
Hi All
I am new to sencha touch development
Please can any one suggest me detailed steps for how to install and build native application for android using Sencha SDK Tools 2.0.0-beta3 and sencha-touch-2.1.1-gpl.
I am getting the error like this on my windows machine The current working directory (D:\Test SenchaSDKTools) is not a recognized Sencha SDK or application folder. Running in backwards compatible mode.
-
14 Mar 2013 6:42 AM #43
Same issue ...
Same issue ...
+1
I'm having same issues with sencha command not recognising the folder as SDK folder
-
14 Mar 2013 4:03 PM #44
If you are using Sencha Touch 2.1 or newer, you need Sencha Cmd v3 (not SDK Tools v2 - those are for Sencha Touch 2.0 only).
You can get Sencha Cmd v3 at http://www.sencha.com/products/sencha-cmd
The most recent Sencha Cmd v3.1 RC2 can be found at http://cdn.sencha.com/cmd/beta/3.1.0...ase-notes.htmlDon Griffin
Ext JS Development Team Lead
Check the docs. Learn how to (properly) report a framework issue and a Sencha Cmd issue
"Use the source, Luke!"
-
15 Mar 2013 1:27 AM #45
Please can anyone give me step by step for building native android app using sencha
Please can anyone give me step by step for building native android app using sencha
I am having SenchaCmd-3.1.0.239-windows.exe and sencha-touch-2.1.1-complete-trial packages
Steps I did is
sencha touch
sencha -sdk C:\Users\sudhakar_V03\bin\Sencha\Complete-Trial\1.0.0.49\sencha-touch-2.1.1-complete-trial\touch-2.1.1 generate app MyApp D:\senchaTest\SDKApp\MyApp
I used above command to create the app.
After that I have added the code to packager file(location “D:\senchaTest\SDKApp\MyApp”) ;
Packager file have data of
{ "applicationName":"SenchaTouch2Package",
"applicationId":"com.sencha.Touch2Package",
"iconName":"icon.png",
"versionString":"1.0",
"outputPath":"~/Desktop/STBuild-Android",
"webAppPath":"~/Desktop/www/",
"configuration":"Debug",
"platform":"Android",
"deviceType":"Universal",
/*"certificatePath":"~/Desktop/debug.keystore",
"certificateAlias":"androiddebugkey", */
"sdkPath":"D:\adt-bundle-windows-x86",
"permissions":[
"INTERNET",
"ACCESS_NETWORK_STATE",
"CAMERA",
"VIBRATE",
"ACCESS_FINE_LOCATION",
"ACCESS_COARSE_LOCATION",
"CALL_PHONE"
],
"orientations": [ "portrait", "landscapeLeft", "landscapeRight", "portraitUpsideDown" ]
}
I ran this command on app folder
sencha app refresh
I got below Output
D:\senchaTest\SDKApp\MyApp>sencha app refresh
Sencha Cmd v3.1.0.239
[INF] Saving certificate as D:\SenchaCMD3\Sencha\Cmd\repo\pkgs\cert.json
[INF] Saving private key as D:\SenchaCMD3\Sencha\Cmd\repo\.sencha\repo\private-k
ey.json
[ERR] Failed to download remote catalog : Error downloading http://cdn.sencha.co
m/cmd/packages/catalog.json
[INF]
[INF] init-plugin:
[INF]
[INF] init-plugin:
[INF] Invoking plugin (D:\senchaTest\SDKApp\MyApp\.sencha\app\plugin.xml) - supp
orted targets: -before-app-refresh
[INF]
[INF] -before-app-refresh:
[INF] Invoking plugin (D:\senchaTest\SDKApp\MyApp\.sencha\app\plugin.xml) - supp
orted targets: app-refresh
[INF]
[INF] cmd-root-plugin.init-properties:
[INF]
[INF] init-properties:
[INF]
[INF] init-sencha-command:
[INF]
[INF] init:
[INF]
[INF] -before-app-refresh:
[INF]
[INF] app-refresh-impl:
[ERR] This is the default implementation from Sencha CMD and must be overriden b
y the framework.
D:\senchaTest\SDKApp\MyApp>
Please let me know other steps and folder structure to build native android using sencha cmd
Or point me the documents where I can get all the steps and info.
Thank you for reporting this bug. We will make it our priority to review this report.



Reply With Quote