Results 1 to 3 of 3

Thread: Sencha CMD 5?Cordova??????

  1. #1
    Sencha User
    Join Date
    Jun 2011
    Posts
    1

    Default Sencha CMD 5?Cordova??????

    ??????????????

    http://docs.sencha.com/cmd/5.x/cordova_phonegap.html
    ??????Sencha Touch?Cordova????????????NullPointerException?????????????????
    ???????????????

    ??????????????

    Code:
    bash-3.2$ sencha -sdk ~/bin/Sencha/touch-2.3.1/ generate app PasswordManager PasswordManager
    ???????app.json???????

    Code:
    "builds": {
        "native": {
            "id": "com.mydomain.MyApp",
            "packager": "cordova",
            "cordova" : {
                "config": {
                        "platforms": "ios"
                    }
            }
        }
    }
    ??????????????

    Code:
    bash-3.2$ sencha app build native
    Sencha Cmd v5.0.1.231[INF] Processing Build Descriptor : native[WRN] Failed loading file /Users/jiro/Documents/PasswordManager/app.json : Invalid UUID string: com.mydomain.MyApp[WRN] Failed loading file /Users/jiro/Documents/PasswordManager/app.json : Invalid UUID string: com.mydomain.MyApp[ERR][ERR] BUILD FAILED[ERR] com.sencha.exceptions.BasicException: java.lang.NullPointerException[ERR][ERR] Total time: 1 second[ERR] The following error occurred while executing this line:/Users/jiro/Documents/PasswordManager/.sencha/app/build-impl.xml:373: The following error occurred while executing this line:/Users/jiro/Documents/PasswordManager/.sencha/app/init-impl.xml:258: com.sencha.exceptions.BasicException: java.lang.NullPointerException
    ?????????????

  2. #2
    Sencha User
    Join Date
    Sep 2011
    Location
    Tokyo, Japan
    Posts
    11

    Default

    ?????????????????????

    ????????app.json?"id"??????"config"???????????????????????????????????????

    Code:
        "builds": {
            "native": {
                "packager": "cordova",
                "cordova" : {
                    "config": {
                            "platforms": "ios",
                            "id": "com.mydomain.MyApp"  // "id"??????"config"????????????
                        }
                }
            }
        },

  3. #3
    Sencha User
    Join Date
    Sep 2011
    Location
    Tokyo, Japan
    Posts
    11

    Default

    Sencha Cmd?????????????????????????????????????? ^^;

    Document bug? about native packaging with Sencha Cmd 5:
    http://www.sencha.com/forum/showthre...h-Sencha-Cmd-5

    ????????????????? app.json ???? `sencha cordova init` ?????????`sencha phonegap init`???????????????????????????????????????????

Tags for this Thread

Posting Permissions

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