在使用eclipse的android进口科尔多瓦现有项目错误 [英] Error in importing cordova existing projects in android using eclipse
问题描述
安装和设置路径科尔多瓦,JDK和Android SDK和进口不具有HTML设计文件和JavaScript文件中的现有项目时,它显示在活动file.Although我hvnot输入的任何代码有错误。
Installed and have set path for cordova,jdk and android sdk and when importing the existing projects which has HTML designed file and Javascript file,Its showing an error in activity file.Although I hvnot entered any coding there.
我不明白,有科尔多瓦库错误
I do understand that there is an error in Cordova library
我试图从项目 - >属性 - > Java构建Path-> Libraries->添加库,然后我看不出任何库有
I tried to import it from Project->Properties->Java Build Path->Libraries->Add Library and I cannot see any libraries there
我也尝试过更新科尔多瓦。
I have also tried updating the Cordova.
plz帮助..你也可以在上面看到
Plz help ..you can also see the errors in the image above
推荐答案
创建一个新的科尔多瓦的项目我已经打开Eclipse和选择文件后 - >新建 - >其他 - > Android项目从现有的code和打开平台\机器人。
After creating a new cordova project I have opened eclipse and selected File -> New -> Other -> Android Project from Existing Code and opened platforms\android.
- >然后检查项目名称,并取消科尔多瓦图书馆和蜱标记复制项目到工作区
-> Then check the project name and uncheck the cordova library and tick-mark the copy projects into Workspace
- >项目和属性Java构建路径 - >源代码和文件夹添加到包括CordovaLib \ src文件夹
-> Properties of the project and Java Build Path -> Source and Add Folder to include the CordovaLib\src folder
- >然后项目 - >清洁
->Then Project->clean
这似乎很好地工作,我
这篇关于在使用eclipse的android进口科尔多瓦现有项目错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!