如何在AndroidStudio中添加ApacheCommonsCollection(Gradle)?

在网上查的,做个mark,以后需要的时候方便查询。

选择添加到build.gradle依赖块:

collections(链接)

compile 'org.apache.commons:commons-collections4:4.1'

lang(链接)

compile 'org.apache.commons:commons-lang3:3.6'

compress(链接)

compile 'org.apache.commons:commons-compress:1.14'

net(链接)

compile 'commons-net:commons-net:3.6'

io(链接)

compile 'commons-io:commons-io:2.6'

exec(链接)

compile 'org.apache.commons:commons-exec:1.3'

codec(链接)

compile 'commons-codec:commons-codec:1.10'

http(链接)

compile 'org.apache.httpcomponents:httpclient:4.5.3'

验证器(链接)

compile 'commons-validator:commons-validator:1.6'

数学(链接)

compile 'org.apache.commons:commons-math3:3.6.1'

看所有的这里的Apache库

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章