如何在编辑器中使用ADT Bundle为phonegap应用程序打开html文件 [英] How to open html file in editor using ADT Bundle for phonegap Apps

查看:215
本文介绍了如何在编辑器中使用ADT Bundle为phonegap应用程序打开html文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经下载并安装ADT Bundle,但问题,当我访问phonegap应用程序工作区,并尝试打开它打开的HTML文件和网页而不是编辑器任何人都可以告诉如何打开编辑器中的html文件...

感谢您的提前。

解决方案

Salam。
我有这个问题,并用这个解决方案解决:


  1. 下载最新版本 Kepler - 面向Java开发人员的Eclipse IDE

  2. 打开Eclipse和安装新软件...

  3. 在安装对话框中,从使用:选择 - 所有可用网站 -

  4. 从加载的列表中选择Eclipse Web Developer Tools

  5. 按下一步

现在,您可以重新启动eclipse ... 您的eclipse已准备好编辑HTML文件(例如HTML,CSS和JavaScript),但您无法创建或管理Android项目。



通过这些步骤安装ADT插件进行Android开发
下载ADT插件):


  1. 打开安装新软件...对话框

  2. 点击添加按钮

  3. 在添加存储库对话框中,添加ADT Plugin Location: https://dl-ssl.google.com/android/eclipse/

  4. 从使用:列表选择ADT Plugin

  5. 从加载的列表中选择所有项目,按next并按照安装。

  6. 重新启动eclipse后,新的android项目和编辑web文件。


I had download and install ADT Bundle but the issue when i access the phonegap app workspace and try to open the html file it opens and webpage instead of editor can anyone tell how to open the html file in editor...

Thanks in Advance.

解决方案

Salam. I have this problem and solve it with this solution:

  1. Downlaod last version of Kepler - Eclipse IDE for Java Developers
  2. Open Eclipse and in Help => Install New Software...
  3. In "Install" dialog, from "Work with:" select "--All Available Sites--" (for simple explore list, select all checkboxes in the buttom of dialog)
  4. From loaded list select "Eclipse Web Developer Tools"
  5. Press "Next" and finish to install checked item.
  6. May need to Restart eclipse...

now, your eclipse ready to edit web files such as HTML, CSS and JavaScript, but you can't create or manage Android projects!

Install ADT Plugins for android developing by these steps (Download the ADT Plugin):

  1. Open "Install New Software..." dialog from Help menu in eclipse
  2. Click Add button
  3. In "Add Repository" dialog, add "ADT Plugin" for Name and paste this url for "Location":https://dl-ssl.google.com/android/eclipse/
  4. From "Work with:" list select "ADT Plugin"
  5. From loaded list, select all items, press next and follow installation.
  6. After restart eclipse you can import or create new android project and edit web files also.

这篇关于如何在编辑器中使用ADT Bundle为phonegap应用程序打开html文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆