Awesome
<!-- # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not use this file except in compliance # with the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, # software distributed under the License is distributed on an # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. # -->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) 17
- 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