2014-02-05 51 views
0

我刚去Phonegap,看到我需要安装node.js才能开始。如何在Windows上安装Phonegap 3.3

我这样做,然后按照命令行来安装phonegap。

但是,它在哪里?我没有看到我的程序文件文件夹中有任何内容,我没有看到Eclipse,也没有关于在Phonegap网站上下一步做什么的文档。我不明白为什么这个指令太模糊了?我错过了什么?我下载/安装的所有文件去哪里了?

感谢

+0

检查此链接:http://stackoverflow.com/questions/18035566/phonegap-cordova-installation-windows –

回答

2

PhoneGap的安装步骤有些隐约呈现,并没有被正确地更新。

关于你的问题,我认为这个帖子https://stackoverflow.com/a/18751002/4277415可能会帮助你。

干杯。

+0

太棒了。对于它的价值,自从我问这个问题以来,他们已经对安装进行了一些更新。 – Windsinger

+0

@Windsinger很高兴听到这个消息。 – Zomoto

3
Phonegap 3.3 installation there is no proper info in phonegap site. 

The reason of installing nodejs is, phonegap cordova are created as node modules. 

Required Software’s: 
Follow the steps. 1 Node Js 2 ANT 3 Android_sdk 4 JDK 

open command prompt: 
Follow the steps 
C:\user\youruser>npm install -g phonegap 
C:\user\youruser>npm install -g cordova 
Set Environment variables: 
Mycomputer -> Right Click -> properties -> Advance System settings -> Environment 
variables 
set path for 1. Java JDK 2. Android SDK 3. ANT 
C:\user\youruser>cordova platform add android 
C:\user\youruser>phonegap create First-app 
C:\user\youruser>cd First-app 
C:\user\youruser>phonegap run android 

Phonegap will be installed and apk will be created in bin folder. 

You will be getting 
[phonegap] detecting Android SDK environment.. 
[phonegap] using the local environment 
[phonegap] compiling Android... 
[phonegap] successfully compiled Android app 
[phonegap] trying to install app onto device 
[phonegap] successfully installed onto device 

You can able to see phonegap modules in C:\Users\yourusername\AppData\Roaming\npm. 

Hope this will be very helpful. Let me know if you face any issues. 
+0

感谢您的信息,这是有帮助的!对不起,我还不能满足,我不知道为什么有一个必需的东西,你可以upvote之前。 – Windsinger

+0

没有probs。你有没有安装。 –