简体   繁体   中英

Include non-android project in android project (lib or classpath)

I'm trying to import a non-android project into my android-project in eclipse. I've tried everything, but nothing works.

I've added the project into my classpath -> noclassdeffounderror I've created a .jar from my non-android project and moved it into "libs" -> same error I've tried to "import an external jar" -> same error

I've searched the whole internet for getting this done, but I don't know, why I'm still getting this Exception by runtime.

Hope anyone has a good idea :(

进入项目的Properties ,选择Java Build Path ,选择Order and Export选项卡,然后选中要包含的JAR文件旁边的框。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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