Go to file
Raphael von der Grün a254cfc841 Fix Java tests for older Gradle versions
Before this, Gradle 4.4 was required to build the Gradle wrapper and
thus run the Java tests. This was because of all the stuff that had to
be configured when running the wrapper task using the build.gradle file.

Now we use a config file that only specifies the required Gradle version
and nothing else to run the wrapper task. This allows tests to be run
with Gradle versions beginning with 2.
2018-06-13 16:09:04 +02:00
.github CB-11921 - Add github pull request template 2016-10-04 21:49:55 -07:00
bin CB-14101 Fix Java version check for Java >= 9 (#446) 2018-06-12 22:18:55 +02:00
cordova-js-src CB-11880 android: Fail-safe for cordova.exec() 2016-10-12 15:20:40 -07:00
framework CB-14008: Updating Gradle Libraries to work with Android Studio 3.1.0 2018-04-04 13:54:39 -07:00
node_modules CB-13912 Updated checked-in node_modules 2018-02-20 11:17:05 -08:00
spec CB-14038 (android): fix false positive detecting project type 2018-04-18 13:52:04 +02:00
test Fix Java tests for older Gradle versions 2018-06-13 16:09:04 +02:00
.eslintignore Improve ESLint script 2018-05-19 23:15:15 +02:00
.eslintrc.yml CB-12895 : added eslint and removed jshint 2017-06-23 08:07:07 -07:00
.gitattributes CB-9836 Add .gitattributes to prevent CRLF line endings in repos 2015-11-12 18:34:41 +03:00
.gitignore CB-12950: lots of tweaks for end-to-end test runs, especially on CI: 2017-06-27 15:59:16 -05:00
.ratignore CB-13912: updated .ratignore to include build diectory 2018-02-20 11:36:55 -08:00
.reviewboardrc Add a .reviewboardrc file to make using post-review easier. 2013-05-21 12:35:47 -04:00
.travis.yml CB-13289: Updating Travis and appveyor 2017-10-31 10:48:19 -07:00
appveyor.yml Merge pull request #413 from infil00p/StudioThreeFix 2017-11-01 10:26:53 -07:00
CONTRIBUTING.md CB-9800 Fixing contribute link. 2015-10-23 15:16:41 -07:00
LICENSE Fixed line endings 2015-10-20 16:15:57 -07:00
NOTICE Checked the notice file, updating to 2015 2015-10-26 16:42:06 -07:00
package.json Improve ESLint script 2018-05-19 23:15:15 +02:00
README.md CB-12423: make explicit JDK 1.8 or greater is needed in the README. 2017-07-14 11:13:52 -05:00
RELEASENOTES.md CB-13912 Updated RELEASENOTES and Version for release 7.1.0 2018-02-21 10:50:50 -08:00
VERSION Set VERSION to 7.2.0-dev (via coho) 2018-02-21 10:52:01 -08:00

Build status Build Status codecov.io

Cordova Android

Cordova Android is an Android application library that allows for Cordova-based projects to be built for the Android Platform. Cordova based applications are, at the core, applications written with web technology: HTML, CSS and JavaScript.

Apache Cordova is a project of The Apache Software Foundation (ASF).

⚠️ Report issues on the Apache Cordova issue tracker

Requires

Cordova Android Developer Tools

We recommend using the Cordova command-line tool to create projects and be able to easily install plugins.

However, the following scripts can be used instead:

./bin/create [path package activity] ... creates the ./example app or a cordova android project
./bin/check_reqs ....................... checks that your environment is set up for cordova-android development
./bin/update [path] .................... updates an existing cordova-android project to the version of the framework

These commands live in a generated Cordova Android project. Any interactions with the emulator require you to have an AVD defined.

./cordova/clean ........................ cleans the project
./cordova/build ........................ calls `clean` then compiles the project
./cordova/log   ........................ streams device or emulator logs to STDOUT
./cordova/run   ........................ calls `build` then deploys to a connected Android device. If no Android device is detected, will launch an emulator and deploy to it.
./cordova/version ...................... returns the cordova-android version of the current project

Using Android Studio

  1. Create a project
  2. Import it via "Non-Android Studio Project"

Running the Native Tests

The test/ directory in this project contains an Android test project that can be used to run different kinds of native tests. Check out the README contained therein for more details!