Gradle Exclude or add reference for JAR file hard included inside library classes.jar

后端 未结 2 954
别那么骄傲
别那么骄傲 2020-12-11 18:55

I\'m running into some trouble with a library I included into my project: At the beginning it was just a conflicting dependencies issue that I resolved by excluding

2条回答
  •  粉色の甜心
    2020-12-11 19:05

    At Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat it easy as exclude module: 'support-v4'

    example

    dependencies {
        compile('com.commonsware.cwac:camera-v9:0.5.4') {
          exclude module: 'support-v4'
        }
    
        compile 'com.android.support:support-v4:18.0.+'
    }
    

提交回复
热议问题