Add commons-io dependency to gradle project in Android Studio

后端 未结 4 1409
滥情空心
滥情空心 2020-12-03 02:21

Very simple question - how to add commons-io dependency to gradle Android project?

I tried the following

buildscript {
    repositories {
           


        
4条回答
  •  情话喂你
    2020-12-03 03:13

    Use gradlePlease to get the dependency.

    Add the following to your app/build.gradle file:

    dependencies {
        compile 'org.apache.commons:commons-io:1.3.2'
    }
    

    //UPDATED

    implementation group: 'commons-io', name: 'commons-io', version: '2.6'
    

提交回复
热议问题