Reputation: 4364
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
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:
res/
directory into your library projectjava/
directory into your library project as the src/
directory in your projectThen, in principle, you should be able to add your own edition of the library project to your app.
Upvotes: 1