如何使用gradle这个导入远程磁带库Android Studio中? [英] How to import remote library in Android Studio using gradle?
问题描述
我要导入Android的swipelistview(<一个href=\"https://github.com/47deg/android-swipelistview\">https://github.com/47deg/android-swipelistview)在我的Android Studio中使用的模块的gradle。如果不是这有可能与孤独的build.gradle配置?有没有人有一个配置文件(S),没有工作?
I am trying to import android-swipelistview (https://github.com/47deg/android-swipelistview) into my Android Studio module using gradle. Shouldn't this be possible with build.gradle config alone? Does anyone have a config file(s) that does the job?
推荐答案
您可以使用:
compile 'com.nineoldandroids:library:2.4.0+'
或者如果你有复制到你的项目库目录库中,你可以使用:
or if you have the library copied to your project libs directory, you can use:
compile files ('libs/ nineoldandroids-2.4.0.jar')
不过,你可以看看我的文章就开始使用swipelistview:
<一href=\"http://modewagon.word$p$pss.com/2013/09/16/getting-started-with-swipelistview/\">http://modewagon.word$p$pss.com/2013/09/16/getting-started-with-swipelistview/
这篇关于如何使用gradle这个导入远程磁带库Android Studio中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!