Large number of errors during Gradle build after upgrading to Android Studio 2.0

前端 未结 7 1416
青春惊慌失措
青春惊慌失措 2020-12-07 20:55

Recently, I upgraded Android Studio from version 1.5 to 2.0 but since then I observe that the number of errors and warnings has increased. Most of the errors do not make sen

7条回答
  •  轮回少年
    2020-12-07 21:17

    building the Common Collections would produce the required JARs ...

    my build.gradle looks about like this, with commons-collections excluded & substituted with a more recent version (one still needs to build from source, just as the message tells one to do):

    dependencies {
        compile fileTree(include: ['*.jar'], dir: 'libs')
        // compile 'commons-collections:commons-collections:3.2.2'
        // compile 'org.apache.commons:commons-collections4:4.1'
        compile ('org.apache.velocity:velocity:1.7') {
            exclude group: 'commons-collections', module: 'commons-collections'
        }
    }
    

提交回复
热议问题