Use Eclipse to import an Android project created by Cordova

Source: Internet
Author: User
When using Cordova to develop Android applications. We can achieve the project compiling, deploying, running and debugging, as long as we provide the relevant commands through Cordova. I can refer to the article that I originally wrote: Cordova-windows system installation Configuration Cordova (with compiler release Android application)

Of course, in addition to using commands, we can use Eclipse to open the Cordova generated Android project for debugging. However, the project created using the Cordova command line is special, and if you import directly like other Android projects, you will find that the imported Cordova engineering directory will complain.
Here's how to import the Cordova project in Eclipse.

1, first open eclipse

Here I am using Eclipse, which is included with Adt-bundle-windows.


2, in the "Package Explore" window blank place right click, select "New"-> "Other ..."


3, in the Open new window, we chose to create the Android project with existing code


4, select the Cordova Engineering directory that we need to import


5, we just tick the project we created, and the Cordova class library


6, click "Finish", you can find that the project has been successfully imported in.


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.