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?
Asked
Active
Viewed 2,299 times
1 Answers
2
See Add Platforms.
$ cordova platform add android --save
If you have the phonegap cli installed instead, replace cordova
with phonegap
.

Connor Pearson
- 63,902
- 28
- 145
- 142
-
It doesn't work! isn't anyway to do this without terminal? – Matin Gholami Feb 04 '17 at 19:29
-
How did you create your project? – Connor Pearson Feb 04 '17 at 19:31
-
I just opened phonegap app v0.4.3, clicked on create new project and then edited index.html file in the www directory – Matin Gholami Feb 04 '17 at 19:37
-
I don't believe you are able to add platforms through the desktop app. Install the command line interface http://docs.phonegap.com/getting-started/1-install-phonegap/cli/ then open your projects folder in terminal and run that command – Connor Pearson Feb 04 '17 at 19:47