cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lex Mourek (JIRA)" <>
Subject [jira] [Created] (CB-11186) "cordova build" fails while "cordova prepare && cordova compile" works
Date Mon, 02 May 2016 12:17:12 GMT
Lex Mourek created CB-11186:

             Summary: "cordova build" fails while "cordova prepare && cordova compile"
                 Key: CB-11186
             Project: Apache Cordova
          Issue Type: Bug
          Components: CLI
    Affects Versions: 6.1.1
         Environment: Ubuntu 15.10
            Reporter: Lex Mourek
            Priority: Minor

Cordova CLI help says {{cordova build}} is just an alias for {{cordova prepare &&
cordova compile}}, but I got two different results:

In confix.xml I have a few {{<plugin/>}}'s and {{<engine/>}}'s.
Assume I have not built platforms and plugins yet ({{rm -rf plugins/ platforms/}}):
$ cordova build
Error: No platforms added to this project. Please use `cordova platform add <platform>`.

$ cordova prepare && cordova compile
Restoring platform android@5.1.1 referenced on config.xml
Adding android project...
Creating Cordova project for the Android platform:

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message