Results 1 to 2 of 2

Thread: sencha phonegap init

  1. #1
    Sencha User
    Join Date
    Aug 2011

    Default sencha phonegap init

    I've run "sencha cordova init" thus I connot run "sencha phonegap init". It gives me this error:

    E:\testtouch>sencha phonegap init
    Sencha Cmd v6.0.0.202
    [ERR] You cannot have PhoneGap and Cordova in the same Application using
    [INF]  level="error"Please use the new multi-build system via app.json
    I've googled the new multi-build system but there is nothing about it. Also I've tried to comment the "builds" section in app.json but it continues to trow the same error.

    Where I can find information about the new multi-build system?

  2. #2
    Sencha - Engineering israelroldan's Avatar
    Join Date
    Nov 2011
    The Netherlands


    First of all, you should remove cordova support if you plan to include phonegap. That means you need to remove the "native" entry in app.json > "builds" as well as the cordova directory in your project. If you don't have any custom build profiles (other than "web" and "native") you can remove the whole "builds" config on app.json so the "phonegap init" command can add them back with the correct values.
    Israel Roldán | Senior Software Engineer (Framework tools)

Similar Threads

  1. [CLOSED] Error on phonegap init
    By maneljn in forum Sencha Cmd
    Replies: 1
    Last Post: 9 Dec 2014, 1:10 AM
  2. sencha phonegap init error
    By miraculis in forum Sencha Cmd
    Replies: 1
    Last Post: 16 Nov 2014, 12:48 PM
  3. [OPEN] sencha phonegap init fails...
    By jamessun in forum Sencha Cmd
    Replies: 5
    Last Post: 5 Nov 2013, 11:00 AM
  4. problem with sencha phonegap init
    By [email protected] in forum Sencha Touch 2.x: Q&A
    Replies: 4
    Last Post: 15 Oct 2013, 4:44 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