James
James

Reputation: 103

Android Studio with Cordova CLI

I'd like to use Cordova CLI to create a new project and then import it to android studio to continue my work. Importing to android studio changes the project folder hierarchy (Adds everything under src/main/java) which would break the CLI going forward. How can I keep both android studio and cordova CLI happy at the same time ?! Thanks.

Upvotes: 0

Views: 63

Answers (1)

shamon shamsudeen
shamon shamsudeen

Reputation: 5858

Suppose your are created your project under Hellocordova directory, before doing import build your project using the command cordova build android.

Use this as import location Hellocordova\platforms\android.

It will works fine

Upvotes: 1

Related Questions