Phonegap 3.3 Eclipse: -CordovaLib project missing Android properties

六眼飞鱼酱① 提交于 2019-12-05 01:28:05

问题


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.

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?


回答1:


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



来源:https://stackoverflow.com/questions/20703463/phonegap-3-3-eclipse-cordovalib-project-missing-android-properties

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!