I want to try out a new feature that is only in the 4.0.x branch of Apache Cordova. reference: https://issues.apache.org/jira/browse/CB-3445 (If curious: there is new code to use Android Studio gradle build system instead of ANT)
How do I go about doing a source checkout and build of Cordova 4.0.x branch? I'm on Ubuntu 14.04.
EDIT:
Ok, so I have cordova-android - but how do I replace my existing Cordova 3.5.1 - I assume I need to download some other components. I want to be able to do:
cordova create test1
cd test1
cordova platform add android
With this 4.0.x branch.
First clone as usual
$ git clone https://github.com/apache/cordova-android.git
$ cd cordova-android
Only master
should be cloned. You can see the remote branches using
$ git branch -r
Then just fetch the one you want
$ git fetch
$ git checkout 4.0.x
$ cat VERSION
4.0.0-dev
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.