User1204501
User1204501

Reputation: 831

How to add a library to Eclipse?

I want to add this library to my project but I am not sure how to. I have already searched for the answers online but most of them are for old versions and do not work. Can someone give me step by step instructions please?

Cheers

Upvotes: 0

Views: 82

Answers (2)

Chin Tsao
Chin Tsao

Reputation: 66

The most easy way to do this is :

add the souce file into your project,you also must add jars in lib dirctory into build path,and files in res directory into your project.Another way to do this is :

  1. download the source from github,import it into eclipse as a new projct "imagepick"
  2. right click on the "imagepick" project ,choose export->java->JAR FiLE, export the project as "imagepick.jar".And then put "imagepick.jar" into build path
  3. put jars in lib directory into build path,put files in res directory into right place of your project

Upvotes: 1

Make a folder in your project calls libs (if there isnt one already). Place the library there. Then right click it and go to build->add to build path.

Upvotes: 2

Related Questions