Results 1 to 9 of 9

Thread: ERR No such property: "jsb"

  1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default ERR No such property: "jsb"

    Hi all,

    I'm trying to generate a jsb file with this command:

    Code:
    sencha create jsb -a http://localhost/NotesApp/index.html -p app.jsb3 -v
    But it show error:
    Code:
    ERR No such property: 'create'
    Then, I change 'create' to 'generate'
    The error changes to:
    Code:
    ERR No such property: 'jsb'
    Is there something wrong with command?
    I'm using sencha cmd 3.0

    Thanks,
    Didin

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    If you are using Sencha Touch 2.1.0 with Sencha Cmd 3 then you should really use sencha generate app command to create the application and then you can use the sencha app build command to build the app.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Sencha Premium Member
    Join Date
    May 2010
    Posts
    48
    Answers
    2
    Vote Rating
    2
      0  

    Default

    I also have this problem.

    When the app is already created, how to we build jsb with cmd 3.0?

  4. #4
    Sencha User
    Join Date
    Jan 2013
    Posts
    2
    Vote Rating
    0
      0  

    Default Having this same issue...

    I am told to use Sencha CMD 3.x with Sencha Touch 2.1, however the tutorials don't seem to match up with the actual program.

  5. #5
    Sencha User
    Join Date
    Jun 2012
    Posts
    24
    Vote Rating
    0
      0  

    Default Facing same issue with build in sencha2.1.1 with cmd 3.0

    Is there any fix for this issue?
    I generated a new app using sencha cmd 3.0 but stil not able to build my app. It is throwing error "create does not exist".
    C:\inetpub\wwwroot\m>sencha create jsb -a index.html -p app.jsb3
    Sencha Cmd v3.0.2.288
    [ERR] No such property : 'create'

    Please help, it's very urgent!!!!!

    Thanks,
    Mahesh

  6. #6
    Sencha Premium Member
    Join Date
    May 2010
    Posts
    48
    Answers
    2
    Vote Rating
    2
      0  

    Default

    I did not find a solution to this.

    Sencha docs leave a lot to be desired.

  7. #7
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    To build you do this:

    Code:
    sencha app build
    You do not create a jsb.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  8. #8
    Sencha User
    Join Date
    Jun 2012
    Posts
    24
    Vote Rating
    0
      0  

    Default Touch 2.1.1 build works!!!!

    Hi Mitchellsimoens,

    Thanks a ton for your quick response over weekend!!!
    It works.

    One request to sencha SDK team - Please update the build process document for sencha touch 2.1.1.. currently it is replica of touch 2.0 build process. As I know touch 2.1.1, all the process and commands are amended but build doc is not updated accordingly. It makes a trouble to us while following 2.1.1 build doc.

    Thanks,
    Mahesh

  9. #9
    Sencha User
    Join Date
    Jun 2012
    Posts
    24
    Vote Rating
    0
      0  

    Default Facing issue while installing apk on android phone

    Hi Mitchell,

    I have build the native andriod app using sencha touch 2.1.1 packager. When i try to install it on my phone I start installation and after processing for few seconds it gives error "Application not installed".
    I have checked all the properties of my json file. It is generating .apk file successfully but while installing on android it is getting failed. Please suggest what can be cause of this issue.

    Below is ny json file - sding this i am able to build apk file. I noticed tht though it generates .apk file in my output folder but command promt is never ending.


    {

    "applicationName":"MyFirstApp",
    "applicationId":"com.mycompany.myAppID",
    "bundleSeedId":"KPXFEPZ6EF",
    "versionString":"1.0",
    "versionCode":"1",
    "icon": {
    "57":"resources\\icons\\Icon.png",
    "72":"resources\\icons\\Icon~ipad.png",
    "114":"resources\\icons\\Icon@2x.png",
    "144":"resources\\icons\\Icon~ipad@2x.png"
    },
    "inputPath":"./",
    "outputPath":"C:\\MyFirstAppBuild",
    "configuration":"Release",
    "platform":"Android",
    "deviceType":"Universal",
    "certificatePath":"my-release-key.keystore",
    "certificateAlias": "alias_name",
    "certificatePassword":"ambit123",
    "sdkPath":"C:\\Android\\sdk",
    "androidAPILevel":"15",
    "permissions":[
    "INTERNET",
    "ACCESS_NETWORK_STATE",
    "CAMERA",
    "VIBRATE",
    "ACCESS_FINE_LOCATION",
    "ACCESS_COARSE_LOCATION",
    "CALL_PHONE"],
    "orientations": [
    "portrait",
    "landscapeLeft",
    "landscapeRight",
    "portraitUpsideDown"
    ]
    }


    Regards,
    Mahesh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •