简体   繁体   English

Android和Eclipse中的多个库依赖项

[英]Multiple library dependencies in Android and Eclipse

I've created an augmented reality app using Unity and Vuforia. 我使用Unity和Vuforia创建了增强现实应用程序。 I've also created a normal Android app using Actionbar sherlock. 我还使用Actionbar sherlock创建了一个普通的Android应用。 Everything is fine, until I had to combine the two projects. 一切都很好,直到我不得不合并两个项目。 I use actionbar sherlock as an Android library, the same for the Unity part. 我将actionbar sherlock用作Android库,与Unity部分相同。 But when I reference both projects my Unity part can't be resolved? 但是当我引用两个项目时,我的Unity部分无法解析吗?

I'm developing in Eclipse. 我正在Eclipse中进行开发。 leave a comment if you need some extra info on my setup. 如果您需要有关我的设置的其他信息,请发表评论。

Thanks in advance :) 提前致谢 :)

I'm so sorry for being a noob! 我很抱歉成为菜鸟! The problem was actually written in the Console! 该问题实际上是在控制台中编写的! If I just read there before posting! 如果我只是在发布之前阅读过!

OK the problem was simple, I referred to the android-supprt-v4.jar both in the actionbar sherloc and my main project. 好的,问题很简单,我在动作栏sherloc和我的主项目中都引用了android-supprt-v4.jar。 After removing android-supprt-v4.jar from my main projects lib folder, everything works as a charm. 从我的主要项目lib文件夹中删除android-supprt-v4.jar后,所有内容都具有吸引力。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM