问题
I recently switched from Eclipse to Intellij. Now I'm trying to use the andengine library.
In Eclipse it was easy to add libraries. Just right click > properties > add library.
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?

Thank you..
回答1:
Navigate to File > Project Structure
, select Modules
, and hit the plus button to add another folder (with source code).
回答2:
Directly to the game engine to add to the project (intelliJ IDEA all versions);
- Create new project or open existing project.
- Right click "Java" folder in the project explorer and create New -> Package.
- Enter new package name: org.andengine
Click to download the AndEngine
Extract zip file and open AndEngine-GLES2 folder. Follow the path and copy the folder (src -> org -> copy andengine folder).
- Open your projects and follow the path. Your project module name -> src -> main -> java -> org -> andengine. Paste it here...
=> Open and check Android Studio. when you write will appear "import org." -> andegine.
来源:https://stackoverflow.com/questions/12332869/how-to-add-a-library-in-intellij-idea