Search code examples
cordovaandroid-studiophonegap-desktop-app

how to add android platform in phonegap project


I've just started working with phonegap and android studio, I'm totally beginner I made my first project in phonegap, now I want to add it into android studio, for that purpose I must first add android platform in phonegap project, can someone tell me how?


Solution

  • See Add Platforms.

    $ cordova platform add android --save
    

    If you have the phonegap cli installed instead, replace cordova with phonegap.