1

I am trying to add this library to my Intelij project. I have downloaded the whole repository as .zip format from the github. I have tried to add the .zip file using ".jar or directories" and "library" option. I have also extracted the .zip file and try to add by the ".jar or directories" option. But in both way it does not works. It says empty library. How to add this library to my intelij project. I am using Intelij Ultimate 14.1.4. Sorry for my bad English. Thank you.

seal
  • 1,122
  • 5
  • 19
  • 37

1 Answers1

0

Put the zip in the libs folder of your project then right click and select "add as library."

This has already been answered here: Correct way to add external jars (lib/*.jar) to an IntelliJ IDEA project

Community
  • 1
  • 1
Zarwan
  • 5,537
  • 4
  • 30
  • 48
  • Thanks for you reply. But there is no folder like `libs` in my project library. For your information, I have tried to add google guava library that is in `.jar` works well. But when i download the project from the github as a .zip file format and try to add to intelij then it does not work. – seal Jul 12 '15 at 05:05
  • That's weird, they're usually treated the same way. Have you tried the other solutions in the question I posted a link to? @seal – Zarwan Jul 12 '15 at 13:52
  • I got the solution. .zip file contain no `.class` file that i have downloaded from github. Therefore i need to build the project first. – seal Jul 13 '15 at 00:03