简体   繁体   English

如何在两个Java项目中链接外部jar文件

[英]How to link an external jar file in two java projects

ok guys, I'm trying to import the jfugue android port library into a libdx project, but I don't know how to add the jar files from the core project to the android one, since they don't appear as jar in the add jar option in the android build path project. 好的,我正在尝试将jfugue android端口库导入libdx项目中,但是我不知道如何将核心项目中的jar文件添加到android项目中,因为它们不会在jar中显示为jar在Android构建路径项目中添加jar选项。

libgdx问题

您指向的jar文件是一个外部jar(您可以看到它具有完整的路径),因此请使用“ Java构建路径”页面“库”选项卡上的“添加外部JAR”按钮将其添加到另一个项目中项目的属性对话框。

Step-1>Just copy the jar files from Quintas_analizer project and paste them in libs folder of Quintas_analizer-android. 步骤1>只需从Quintas_analizer项目复制jar文件并将其粘贴到Quintas_analizer-android的libs文件夹中。 Then right click on the jar files in Quintas_analizer-android and add to build path. 然后右键单击Quintas_analizer-android中的jar文件,然后添加到构建路径。

or 要么

Step-1.1 >Another way is that-> right click Quintas_analizer-android ->properties-> Android->Add-> Select the project Quintas_analizer and add. 步骤1.1>另一种方法是->右键单击Quintas_analizer-android-> properties-> Android-> Add->选择项目Quintas_analizer并添加。

If Quintas_analizer not shown then go to Quintas_analizer -> properties -> Android-> Mark the checkbox ->is a library-> Repeat step 1.1 如果未显示Quintas_analizer,请转到Quintas_analizer->属性-> Android->标记复选框->是库->重复步骤1.1

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

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