Results 1 to 5 of 5

Thread: Sencha build error

  1. #1
    Sencha User
    Join Date
    Apr 2015
    Posts
    4

    Default Sencha build error

    I created a new app with sencha generate app command using sencha cmd 5.1.2.52, then ran 'sencha cordova init' (with and without a name), then added a plugin, it was successfully added. Now while building the app with 'sencha app build native' it gives the following error.
    [ERR] The following error occurred while executing this line: C:\xampp\htdocs\sencha_start\pc2.sencha\app\build-impl.xml:435: The following e rror occurred while executing this line: C:\xampp\htdocs\sencha_start\pc2.sencha\app\packager-impl.xml:17: The following error occurred while executing this line: C:\xampp\htdocs\sencha_start\pc2.sencha\app\cordova-impl.xml:144: The following error occurred while executing this line: jar:file:/C:/Users/Lenovo/bin/Sencha/Cmd/5.1.2.52/sencha.jar!/com/sencha/ant/ant lib.xml:644: shellscript returned: 1

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Do you get errors when you just run 'sencha app build'? Do you get any better information if you run with the --debug flag?

  3. #3
    Sencha User
    Join Date
    Apr 2015
    Posts
    4

    Default

    Thanks for the prompt reply.
    No, 'sencha app build' doesn't give any error.
    And following is the result with the --debug flag

    [INF] Processing Build Descriptor : native[INF] Loading app json manifest...[INF] Concatenating output to file C:\xampp\htdocs\sencha_start\pc2/build/temp/production/pc2/sencha-compiler/cmd-packages.js[INF] writing content to C:\xampp\htdocs\sencha_start\pc2\bootstrap.js[INF] appending content to C:\xampp\htdocs\sencha_start\pc2\bootstrap.js[INF] appending content to C:\xampp\htdocs\sencha_start\pc2\bootstrap.js[INF] appending content to C:\xampp\htdocs\sencha_start\pc2\bootstrap.js[INF] Appending content to C:\xampp\htdocs\sencha_start\pc2/bootstrap.json[WRN] C1014: callParent has no target (me.callParent in Ext.dataview.DataView.onAfterRender) -- C:\xampp\htdocs\sencha_start\pc2\touch\src\dataview\DataView.js:892[WRN] C1014: callParent has no target (this.callParent in Ext.Decorator.setDisabled) -- C:\xampp\htdocs\sencha_start\pc2\touch\src\Decorator.js:157[WRN] C1014: callParent has no target (this.callParent in Ext.data.ArrayStore.loadData) -- C:\xampp\htdocs\sencha_start\pc2\touch\src\data\ArrayStore.js:64[WRN] C1014: callParent has no target (this.callParent in Ext.fx.animation.Wipe.getData) -- C:\xampp\htdocs\sencha_start\pc2\touch\src\fx\animation\Wipe.js:119:7[INF] merging 0 input resources into C:\xampp\htdocs\sencha_start\pc2\--debug\resources[INF] merged 0 resources into C:\xampp\htdocs\sencha_start\pc2\--debug\resources[INF] merging 14 input resources into C:\xampp\htdocs\sencha_start\pc2\--debug[INF] merged 14 resources into C:\xampp\htdocs\sencha_start\pc2\--debug[INF] executing compass using system installed ruby runtimeidentical ../css/app.css[INF] Copying page resources to C:\xampp\htdocs\sencha_start\pc2\--debug[INF] Writing content to C:\xampp\htdocs\sencha_start\pc2\--debug/microloader.js[INF] Appending content to C:\xampp\htdocs\sencha_start\pc2\--debug/microloader.js[INF] Building output markup to C:\xampp\htdocs\sencha_start\pc2\--debug/index.html[INF] Writing content to C:\xampp\htdocs\sencha_start\pc2\--debug/index.html[INF] [Cordova] Cordova is adding platforms "android"[INF] [shellscript][INF] [shellscript] C:\xampp\htdocs\sencha_start\pc2\cordova>cordova platform add android[INF] [shellscript] Adding android project...[INF] [shellscript][INF] [shellscript] C:\Users\Lenovo\.cordova\lib\npm_cache\cordova-android\4.0.0\package\bin\node_modules\q\q.js:126[INF] [shellscript] throw e;[INF] [shellscript] ^[INF] [shellscript] Package name must look like: com.company.Name[INF] [shellscript] Error: C:\Users\Lenovo\.cordova\lib\npm_cache\cordova-android\4.0.0\package\bin\create.bat: Command failed with exit code 8[INF] [shellscript] at ChildProcess.whenDone (C:\Users\Lenovo\AppData\Roaming\npm\node_modules\cordova\node_modules\cordova-lib\src\cordova\superspawn.js:131:23)[INF] [shellscript] at ChildProcess.emit (events.js:98:17)[INF] [shellscript] at maybeClose (child_process.js:766:16)[INF] [shellscript] at Process.ChildProcess._handle.onexit (child_process.js:833:5)[ERR] The following error occurred while executing this line:C:\xampp\htdocs\sencha_start\pc2\.sencha\app\build-impl.xml:435: The following error occurred while executing this line:C:\xampp\htdocs\sencha_start\pc2\.sencha\app\packager-impl.xml:17: The following error occurred while executing this line:C:\xampp\htdocs\sencha_start\pc2\.sencha\app\cordova-impl.xml:144: The following error occurred while executing this line:jar:file:/C:/Users/Lenovo/bin/Sencha/Cmd/5.1.2.52/sencha.jar!/com/sencha/ant/antlib.xml:644: shellscript returned: 1

  4. #4
    Sencha User
    Join Date
    Apr 2015
    Posts
    4

    Default

    Additionally, 'sencha app build native' runs fine before adding the plugin

  5. #5

    Default What the plugin you added ?

    Quote Originally Posted by irtaza View Post
    Additionally, 'sencha app build native' runs fine before adding the plugin



    What the plugin you added ?

Similar Threads

  1. build error running "sencha app build native"
    By davetbo in forum Sencha Touch 2.x: Discussion
    Replies: 2
    Last Post: 23 Nov 2013, 9:30 AM
  2. PhoneGap.build error on 'sencha app build native'
    By Kurt001 in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 5 Oct 2013, 11:40 AM
  3. build sencha app error
    By omari_yousef in forum Sencha Touch 2.x: Q&A
    Replies: 5
    Last Post: 17 Jun 2013, 3:13 PM
  4. sencha cmd 3.1.0.256 sencha touch 2 build error
    By maneljn in forum Sencha Cmd
    Replies: 2
    Last Post: 8 Apr 2013, 6:22 AM
  5. Replies: 5
    Last Post: 18 Mar 2013, 7:55 AM

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
  •