Install Cordova, Import to Android studio to Deploy using PhoneGap Cordova Plugin



Create phonegap cordova project with Android Studio IDE. Directly edit HTML, CSS, Javascript code on base code. This video shows how to use Phonegap/cordova plugin in android studio to import cordova project and run apk on real android phone/device or android emulator

Getting started cordova phone gap with android studio

Install node.js
Install Cordova
npm install -g cordova
Create new cordova project
cordova create [project folder] [package name] [app name]

40 Replies to “Install Cordova, Import to Android studio to Deploy using PhoneGap Cordova Plugin”

  1. Sonu Singhania

    Can be made app for ios and launch at ios store?
    And i have game source code in cardova with android studio. How i make that one. Can you help to understanding basics things, how source code of game copy in android studio which I have.

  2. Sriram R

    Can you help me out?

    Everything was fine, until suddenly, when i try to install a cordova app on my phone, it asks for permission, and then i accept, and it just goes to the recent apps( minimized apps) of the phone.

    And i searched the apps on the phone, its not a launcher problem, it just doesn't install

  3. Sonam Channe

    Hi Milinda, i m getting an issue while configure with android platform.
    Message : No platforms added to this project. Please use `cordova platform add <platform>`.
    why its unable to add platform?

  4. SHASHANK GAUR

    when i run run project on Android studio then it shows an error:
    Error: Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
    Looked here: D:applicationAndroid3.1AndroidSdkplatform-toolstoolstemplatesgradlewrapper
    Please help me, i need help

  5. Swyam Joshi

    I am getting following error when I run project from Android studio
    Please help

    "C:Program FilesAndroidAndroid Studiobinrunnerw.exe" C:UsersDELLAppDataRoamingnpmcordova.cmd run –emulator android

    Android Studio project detected

    ANDROID_HOME=C:UsersDELLAppDataLocalAndroidsdk

    JAVA_HOME=C:Program Filesjavajdk-10.0.1

    (node:14736) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): CordovaError: Requirements check failed for JDK 1.8 or greater

    (node:14736) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

  6. selfservit

    hi..i followed all your steps..when i restart the android studio after installing plugins/cordava, a plugin installation error has been triggered..the cause shows like file source is missing…please help me out to clear this error…thank you in advance.

  7. Daniel Ritter

    Hi,
    every time i want to run my app i get this error:

    [phonegap] executing 'cordova run –emulator android' …
    [phonegap] completed 'cordova run –emulator android –no-telemetry'

    tryed multiple hours to run my app on an emulator
    on a browser it works fine but i cannot run it on androide studios… pls i need support

  8. nice view

    Hi – great video ..untill this weekend i only made cordova apps..developed within visualStudio..using cordova ..deploying THREE js apps e.g. Now due to some socket ( UDP ) stuff i have to devel an APP with Android Studio (SDK )….. You show now – it might be possible to combine those to developer tools.
    Question:
    would it be possible to CREATE a Android SDK-APP and "include" this code (generated via CORDOVA) into the Java code from adtSDK?…

    This way it would be possible to show phantastic HTML5/Three-JS animations on top of the adtSDK-APP.

  9. Β_origin

    why i get this ? Migrate Project to Gradle?
    This project does not use the Gradle build system. We recommend that you migrate to using the Gradle build system.
    More Information about migrating to Gradle
    Don't show this message again.

Leave a Reply

Your email address will not be published. Required fields are marked *