Chris
Chris

Reputation: 4364

Include library from github

How to include this library https://github.com/jdamcd/android-crop to my existing android project? Tried to import it via "Existing Projects into Workspace" and "File System" but I was unable to use the classes of the library.

Upvotes: 0

Views: 135

Answers (1)

CommonsWare
CommonsWare

Reputation: 1007534

That project is designed to be built by Gradle (and, by extension, Android Studio). The directory structure of the lib/ project is not set up in the legacy project structure used by Eclipse or Ant.

You would have to create your own Android library project, then:

Then, in principle, you should be able to add your own edition of the library project to your app.

Upvotes: 1

Related Questions