PhoneGap 环境搭建

1、 下载安装 Eclipse Classic

http://www.eclipse.org/downloads/

2、 下载 Android SDK

可参考(http://www.cnblogs.com/VincentHome/archive/2012/08/30/2664484.html)进行安装

http://developer.android.com/sdk/index.html

  • 解压Android SDK文件,里面有两个应用程序: “SDK Manager.exe”(负责下载或更新SDK包)
  • 我们先运行“SDK Manager.exe”进行SDK下载。

                       

  • 运行后出现下面的界面,我们选择自己想安装的 Android 版本,我选择了最新版本,然后点击“Install X packages”安装。

   

  • 在新出现的界面上,选择接受并遵守所有许可内容(Accept All),再点击 “Install”。Android SDK 管理器就开始下载并安装你所选的包了,我们等上一段时间就好了。

   

  • 安装好后,在 Android SDK 管理器界面上你所选的包后面会显示“Installed”,表示已经安装好了

   

3、 下载安装ADT Plugin(http://chy2z.blog.163.com/blog/static/316688462013014115332621/

  • Download the ADT Plugin zip file (do not unpack it):
  • Install New Software
  • Click Add, in the top-right corner
  • In the Add Repository dialog, click Archive
  • Select the downloaded ADT-21.1.0.zip file and click OK
  • Enter "ADT Plugin" for the name and click OK
  • In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  • In the next window, you'll see a list of the tools to be downloaded. Click Next
  • Read and accept the license agreements, then click Finish.  If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.  10. When the installation completes, restart Eclipse.

4、 下载 最新的PhoneGap版本然后解压我们将会把它复制到使用Android目录.

最后附上几个相关文章的链接:

http://www.cnblogs.com/cheney23reg/archive/2010/08/19/1803474.html

http://www.cnblogs.com/itech/p/3189031.html

http://www.2cto.com/kf/201312/263093.html

原文地址:https://www.cnblogs.com/cherryzhou/p/4641374.html