gpt4 book ai didi

android - 将 cordova 项目导入 Eclipse (ADT)

转载 作者:太空宇宙 更新时间:2023-11-03 12:54:51 25 4
gpt4 key购买 nike

我正在尝试将 android cordova 项目导入 Eclipse:

我在 CMD 中运行以下命令:

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

然后我将 XYZ\platforms\android 文件夹导入到 Eclipse

enter image description here

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

此外,我这样做:

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

拜托,有人可以帮助我吗?

最佳答案

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"

关于android - 将 cordova 项目导入 Eclipse (ADT),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22468385/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com