Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issue importing cordova project to Eclipse (ADT)

I'm trying to import a android cordova project to Eclipse:

I run the followings commands in CMD:

cordova create XYZ com.falk.xyz XINF
cordova platform add android
cordova build

Then I imported the XYZ\platforms\android folder to Eclipse

enter image description here

CONSOLE:
/XINF/gen already exists but is not a source folder. Convert to a source folder or rename it.

Also, I do this:

Package Explorer -> Right click the project -> "Android Tools" -> "Fix Project Properties" Project -> Clean

Please, someone can help me?

like image 341
candlejack Avatar asked Dec 31 '25 12:12

candlejack


1 Answers

Right click on the project and go to "Properties"
Select "Java Build Path" on the left
Open "Source" tab
Click "Add Folder..."
Check "gen" folder and click Ok and Ok again
Again right click on the project and in the "Andriod Tools" click on "Fix Project Properties"
like image 200
candlejack Avatar answered Jan 03 '26 05:01

candlejack



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!