本文介绍了PhoneGap的3.3的Eclipse:-CordovaLib项目缺少的Andr​​oid特性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试导入新的PhoneGap 3.3项目导入Eclipse 4.3.1 - 经初步PhoneGap的CLI构建我输入2个项目(的HelloWorld和的HelloWorld-CordovaLib)。我获得进口org.apache.cordova无法解析的错误作为CordovaLib似乎并没有被作为链接库HelloWorld项目。

Trying to import new PhoneGap 3.3 project into Eclipse 4.3.1 - after initial phonegap CLI build I import 2 projects (HelloWorld and HelloWorld-CordovaLib). I get "The import org.apache.cordova cannot be resolved" error as CordovaLib seems not to be linked as library to the HelloWorld project.

不过,我不能够标志其Android性能CordovaLib项目为是库(按this后),因为在其属性没有Android的部分(该项目似乎并没有表现为Android的一个)。我的HelloWorld的Andr​​oid的特性显示CordovaLib在图书馆部分,但旁边有一个红色的十字架。我该怎么办?

However, I am not able to flag the CordovaLib project in its Android properties as "Is library" (as per this post) because there is no Android section in its properties (the project seems not to behave as Android one). The Android properties of my HelloWorld shows CordovaLib in Library section but is has a red cross next to it. What should I do?

推荐答案

通过不选择复制项目进入工作区解决了导入时。

Solved by not choosing "Copy projects into workspace" when importing.

这篇关于PhoneGap的3.3的Eclipse:-CordovaLib项目缺少的Andr​​oid特性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 15:05