016018513e
* Added the monochrome version for Cordova's icon * android: modified the ic_launcher.xml to include the monochrome drawable * android: replaced monochrome image with rasterized images * android: Added support for custom monochrome icons defined in config.xml * android: Updated Tests * android: wrapped inside if(monochrome) * android: Update templates/project/res/mipmap-hdpi-v26/ic_launcher.xml Co-authored-by: エリス <erisu@users.noreply.github.com> * Update lib/prepare.js Co-authored-by: エリス <erisu@users.noreply.github.com> * android: Update templates/project/res/mipmap-ldpi-v26/ic_launcher.xml Co-authored-by: エリス <erisu@users.noreply.github.com> * android: Update templates/project/res/mipmap-mdpi-v26/ic_launcher.xml Co-authored-by: エリス <erisu@users.noreply.github.com> * android Update templates/project/res/mipmap-xhdpi-v26/ic_launcher.xml Co-authored-by: エリス <erisu@users.noreply.github.com> * android: Update templates/project/res/mipmap-xxhdpi-v26/ic_launcher.xml Co-authored-by: エリス <erisu@users.noreply.github.com> * android: Update templates/project/res/mipmap-xxxhdpi-v26/ic_launcher.xml Co-authored-by: エリス <erisu@users.noreply.github.com> * android: Update lib/prepare.js Co-authored-by: エリス <erisu@users.noreply.github.com> * Resolved lint errors * fix: test failure --------- Co-authored-by: エリス <erisu@users.noreply.github.com> |
||
---|---|---|
.github | ||
cordova-js-src | ||
framework | ||
lib | ||
spec | ||
templates | ||
test | ||
types | ||
.asf.yaml | ||
.eslintignore | ||
.eslintrc.yml | ||
.gitattributes | ||
.gitignore | ||
.npmignore | ||
.npmrc | ||
.ratignore | ||
.reviewboardrc | ||
CONTRIBUTING.md | ||
LICENSE | ||
NOTICE | ||
package-lock.json | ||
package.json | ||
README.md | ||
RELEASENOTES.md |
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).
Requirements
- Java Development Kit (JDK) 11
- Android SDK
- Node.js
Create a Cordova project
Follow the instructions in the Create your first Cordova app section of Apache Cordova Docs
To use a shared framework, for example in development, link the appropriate cordova-android platform folder path:
cordova platform add --link /path/to/cordova-android
Updating a Cordova project
When you install a new version of the Cordova CLI
that pins a new version of the Cordova-Android
platform, you can follow these simple upgrade steps within your project:
cordova platform rm android
cordova platform add android
Debugging in Android Studio
Import project in Android Studio through File > Open and targeting /path/to/your-cdv-project/platforms/android/
.
How to Test Repo Development
npm install
npm test