M
M
Mikhail Gilmutdinov2016-11-04 21:17:45
Android
Mikhail Gilmutdinov, 2016-11-04 21:17:45

How to open a project in Android Studio created in PhoneGap?

I can't figure out the error! Maybe when creating a project?
Looks like you've gone through all the setup steps.
https://www.youtube.com/watch?v=gZ00x2gvliw&index=...
Only I had to use Android Studio instead of Eclipse
Created a project:
$ phonegap create vtoroi "com.proba.vtoroi" "Vtoroi project of PhoneGap"
How you use PhoneGap provides us with important data that we can use to make
our products better. Please read our privacy policy for more information on the
data we collect. www.adobe.com/privacy.html
? Would you like to allow PhoneGap to collect anonymous usage data? (Y/n)
Analytics is off.
If you would like to turn analytics on, simply run `phonegap analytics on`
Creating a new cordova project.
Retrieving phonegap-template-hello-world using npm...
C:\Users\pafos\Desktop>phonegap create vtoroi "com.proba.vtoroi" "Vtoroi project of PhoneGap"
Error: Path already exists and is not empty: C: \Users\pafos\Desktop\vtoroi
The only warning on Android startup is:
$ phonegap local run android
[warning] The command `phonegap local ` has been DEPRECATED.
[warning] The command has been delegated to `phonegap`.
[warning] The command `phonegap local` will soon be removed.
And when importing into Android Studio
Event Log:
Update Property Files
The structure of following Android modules was changed:
android
Would you like to update related project.properties files?
Only once
Always for these modules
Never for these modules

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rou1997, 2016-11-05
@Rou1997

I can't figure out the error! Maybe when creating a project?

Well, here is your error:
C:\Users\pafos\Desktop>phonegap create vtoroi "com.proba.vtoroi" "Vtoroi project of PhoneGap"
Error: Path already exists and is not empty: C:\Users\pafos\Desktop\vtoroi

So use Eclipse! If this is a problem for you, then PhoneGap is not for you, you need to be able to build Android applications without an IDE at all - with a notepad and a command shell.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question