如何添加在IntelliJ IDEA的图书馆图书馆、IntelliJ、IDEA

2023-09-04 04:50:23 作者:浪荡.

我最近转自Eclipse来的IntelliJ。现在,我试图用andengine库。

I recently switched from Eclipse to Intellij. Now I'm trying to use the andengine library.

在Eclipse中很容易添加库。只需右键点击>属性>添加库。

In Eclipse it was easy to add libraries. Just right click > properties > add library.

在的IntelliJ还有当你右键点击一个文件夹(见图片)的选项。我如何的IntelliJ中添加项目库(一个文件夹,而不是一个jar文件)?

In Intellij there is no option when you right click a folder (see image). How can I add a project library (a folder, not a jar file) in Intellij?

感谢你..

推荐答案

导航到文件>项目结构,选择模块,并点击加号按钮添加其他文件夹(含源$ C ​​$ C)。

Navigate to File > Project Structure, select Modules, and hit the plus button to add another folder (with source code).