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.
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.