1. #41
    Sencha User
    Join Date
    May 2010
    Posts
    2
    Vote Rating
    0
    holms is on a distinguished road

      0  

    Default


    Quote Originally Posted by erpa1119 View Post
    create a file called ".senchasdk" in your sdk folder with the value of "." meaning that this folder is an sdk folder.

    my paths are:
    /Projects/SenchaTouch2/SDK/ -- I put the .senchasdk file in here
    /Applications/SenchaSDKTools-2.0.0-beta3/

    --Hope this helps
    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)

  2. #42
    Sencha User
    Join Date
    Mar 2013
    Posts
    12
    Vote Rating
    0
    sudhakarv is on a distinguished road

      0  

    Default 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.

  3. #43
    Sencha User
    Join Date
    Mar 2013
    Location
    Sydney
    Posts
    5
    Vote Rating
    0
    meerec is on a distinguished road

      0  

    Default Same issue ...

    Same issue ...


    +1
    I'm having same issues with sencha command not recognising the folder as SDK folder

  4. #44
    Sencha - Ext JS Dev Team dongryphon's Avatar
    Join Date
    Jul 2009
    Posts
    1,344
    Vote Rating
    134
    dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all dongryphon is a name known to all

      0  

    Default


    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.html
    Don 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!"

  5. #45
    Sencha User
    Join Date
    Mar 2013
    Posts
    12
    Vote Rating
    0
    sudhakarv is on a distinguished road

      0  

    Default 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.