Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
490 views
in Technique[技术] by (71.8m points)

eclipse - How to open html file in editor using ADT Bundle for phonegap Apps

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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I have this problem and solve it with this solution:

  1. Download 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 bottom 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 restarting Eclipse you can import or create new Android project and edit web files also.

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...