Android Studio. Can't include external library properly

前端 未结 3 1466
别那么骄傲
别那么骄傲 2021-01-12 09:31

I\'m trying to add to classpath external library (this one). The way I do it: File -> Project Structure -> Dependencies tab -> Add file dependency. Is

3条回答
  •  佛祖请我去吃肉
    2021-01-12 10:11

    I fixed it by using exclude option in app/build.gradle, it works fine now.

    dependencies {
        .....
        compile ('com.thoughtworks.xstream:xstream:1.4.7'){
            exclude group: 'xmlpull'
        }
    }
    

提交回复
热议问题