gradle dependency error in android

后端 未结 3 566
别跟我提以往
别跟我提以往 2020-12-03 17:43

In the following build.gradle, I added the configuration section to avoid double inclusion of support libraries. Support libraries are used in the main project and in the de

3条回答
  •  醉话见心
    2020-12-03 18:30

    If you're having a dependency conflict with the v4 support library, you can just exclude it from one of the libraries via the gradle script:

    compile ('com.android.support:recyclerview-v7:+') {
        exclude module: 'support-v4'
    }
    

提交回复
热议问题