1. #1
    Sencha User
    Join Date
    Dec 2012
    Posts
    1
    Vote Rating
    0
    Didin is on a distinguished road

      0  

    Default Unanswered: ERR No such property: "jsb"

    Unanswered: 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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,525
    Vote Rating
    872
    Answers
    3564
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      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 @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha Premium Member
    Join Date
    May 2010
    Posts
    48
    Vote Rating
    2
    Answers
    2
    Materix is on a distinguished road

      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
    leaninonlife is on a distinguished road

      0  

    Default Having this same issue...

    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
    maheshparvekar is on a distinguished road

      0  

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

    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
    Vote Rating
    2
    Answers
    2
    Materix is on a distinguished road

      0  

    Default


    I did not find a solution to this.

    Sencha docs leave a lot to be desired.

  7. #7
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,525
    Vote Rating
    872
    Answers
    3564
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    To build you do this:

    Code:
    sencha app build
    You do not create a jsb.
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    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 in print!

    When posting code, please use BBCode's CODE tags.

  8. #8
    Sencha User
    Join Date
    Jun 2012
    Posts
    24
    Vote Rating
    0
    maheshparvekar is on a distinguished road

      0  

    Default Touch 2.1.1 build works!!!!

    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
    maheshparvekar is on a distinguished road

      0  

    Default Facing issue while installing apk on android phone

    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