Question

I'm a beginner in android programming

And I have problem importing this library to eclipse: External Link To Project (GitHub)

I know how to import .jar files but I can't find any .jar file in it's libraries

The question is:

How can I use this type of libraries (with only .java files)?

Was it helpful?

Solution

Just pull that library project from git repo and follow this link on developer's site.

OTHER TIPS

For whosoever that may still encounter this challenge just paste the following in your gradle app: implementation 'com.github.chrisbanes.photoview:library:1.2.1' and sync to import the library into your project.

(I understand it's a very old question, but I thought adding this would be beneficial and somebody might find it useful.)

If you are using Android Studio, you can directly add Maven dependencies in you build.gradle file. This can save a lots of time and hassle.

e.g. link for OP's original request https://mvnrepository.com/artifact/com.github.chrisbanes.photoview/library/1.2.3

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top