如何添加在IntelliJ IDEA的图书馆 [英] How to add a library in Intellij Idea

查看:660
本文介绍了如何添加在IntelliJ IDEA的图书馆的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近转自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).

这篇关于如何添加在IntelliJ IDEA的图书馆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆