Results 1 to 2 of 2

Thread: Errors when using sencha phonegap

  1. #1
    Sencha Premium Member
    Join Date
    Jun 2010
    Posts
    36

    Default Errors when using sencha phonegap

    Hello,

    I have an app that's been successfully built and packaged with phonegap using Sencha CMD many times in the past. However, it seems that starting with CMD 6.5, I no longer am able to package it. I get the following error.

    Code:
    [ERR] C:\Users\USER\bin\Sencha\Cmd\6.5.2.15\plugin.xml:333: The following error occurred while executing this line:
    C:\Users\USER\bin\Sencha\Cmd\6.5.2.15\ant\build\app\build-impl.xml:443:
    The following error occurred while executing this line:
    C:\Users\USER\bin\Sencha\Cmd\6.5.2.15\ant\build\app\packager-impl.xml:17
    : The following error occurred while executing this line:
    C:\Users\USER\bin\Sencha\Cmd\6.5.2.15\ant\build\app\phonegap-impl.xml:10
    6: The following error occurred while executing this line:
    C:\Users\USER\bin\Sencha\Cmd\6.5.2.15\ant\build\app\phonegap-impl.xml:15
    6: The following error occurred while executing this line:
    jar:file:/C:/Users/USER/bin/Sencha/Cmd/6.5.2.15/sencha.jar!/com/sencha/ant/antlib.xml:671: shellscript returned: 1
    [ERR] A log is available in the file "C:\www\CountingUs\sencha-error-20171008-4.log"


    I tried creating a new project from scratch, and I also get an error when attempting to do phonegap init:

    Code:
    Sencha Cmd v6.5.2.15
    [INF] ApplicationID was NOT specified, defaulting to com.domain.PhonegapTest. You can edit this in your PhoneGap/Cordova config.json
    [INF] Creating App
    [INF] [shellscript] '''phonegap''' is not recognized as an internal or externalcommand,
    [INF] [shellscript]
    [INF] [shellscript] operable program or batch file.
    [INF] [shellscript] C:\simtech\www\test\PhonegapTest>phonegap create "C:\\www\test\PhonegapTest/phonegap" m.domain.PhonegapTest PhonegapTest
    
    
    [ERR] C:\Users\USER\bin\Sencha\Cmd\6.5.2.15\extensions\cmd-packager\cmd-packager.plugin.xml:39: The following error occurred while executing this line:
    C:\Users\USER\bin\Sencha\Cmd\6.5.2.15\extensions\cmd-packager\cmd-packager.plugin.xml:107: The following error occurred while executing this line:
    jar:file:/C:/Users/USER/bin/Sencha/Cmd/6.5.2.15/sencha.jar!/com/sencha/ant/antlib.xml:671: shellscript returned: 1
    [ERR] A log is available in the file "C:\www\test\PhonegapTest\sencha-error-20171008-3.log"
    Anyone have any thoughts on what could be causing this?

  2. #2
    Sencha Premium Member
    Join Date
    Jun 2010
    Posts
    36

    Default

    Well I feel silly, turns out I didn't have phonegap installed. It would have been nice if there was a bit better error handling/messaging, but oh well

Similar Threads

  1. Replies: 1
    Last Post: 3 Oct 2014, 10:19 AM
  2. Debug log with sencha architect / sencha touch / phonegap not working
    By xavier.ifc in forum Sencha Architect 3.x: Bugs
    Replies: 1
    Last Post: 2 Dec 2013, 1:15 PM
  3. Sencha Touch 2.2.1, Phonegap 2.9.0 and Phonegap Plugin Mapkit
    By bandicut in forum Sencha Touch 2.x: Q&A
    Replies: 2
    Last Post: 29 Aug 2013, 3:15 AM
  4. Sencha Touch 2 + Phonegap + Sencha SDK Tools
    By testvogel in forum Sencha Touch 2.x: Q&A
    Replies: 9
    Last Post: 6 Jan 2012, 12:48 PM

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
  •