Android : import libraries Like PhotoView

2019-06-14 12:36发布

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) ?

Thanks in advance

2条回答
Viruses.
2楼-- · 2019-06-14 12:50

(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 http://maven-repository.com/artifact/com.github.chrisbanes.photoview/library/1.2.3

查看更多
冷血范
3楼-- · 2019-06-14 13:01

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

查看更多
登录 后发表回答