Creating Projects Using Phonegap 3.0

I am trying to create 3 projects with the new new Phonegap Cordova 3.0 with WinRT / Android / iOS. I did not understand the documentation, and I can not find the tutorial.

I installed NodeJS and the phone table without errors. Then I first try to create an Android application with these lines:

$ phonegap create my-app $ cd my-app $ phonegap run android 

I assume that "run android" generates apk and there is no need to have an Android Eclipse project. But the “Detecting Android SDK Environment” stops at the command line, so I tried this command:

 $ phonegap -V run android 

And now the Android SDK Environment Detection passes, but it blocks when the Android Android Target List launches.

Therefore, I tried to create a WinRT application, but, apparently, we need to first create our own WinRT project, and then "deploy" the telephone interchange. But how can the code be synchronized with the Android and iOS project?

If anyone has a complete tutorial with a 3.0 phone record, I will be very grateful.

+4
source share
2 answers

Have you tried NetBeans ? The new beta version has support for telephone applications. Here you can start.

+1
source

The syntax "phonegap create my-app" is invalid. It should be: "phonegap create AAA com.myproject MyProject"

Creates a folder called AAA and places PhoneGap files there.

+1
source

Source: https://habr.com/ru/post/1496730/


All Articles