Android : import libraries Like PhotoView

蹲街弑〆低调 提交于 2020-01-03 04:55:11

问题


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


回答1:


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




回答2:


(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



来源:https://stackoverflow.com/questions/21110640/android-import-libraries-like-photoview

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!