Android: force gradle to include only one version of a library

前端 未结 1 1426
失恋的感觉
失恋的感觉 2020-12-09 03:55

I use \'com.android.support:support-v4:23.3.0\' in my build.gradle but when explore external libraries I see two version of support-v4 library (23.

相关标签:
1条回答
  • 2020-12-09 04:33

    I can't add comment so I link here:

    https://stackoverflow.com/a/37357786/3442734

    use:

    configurations.all { 
        resolutionStrategy.force 'com.android.support:support-v4:24.0.0'
    }
    
    0 讨论(0)
提交回复
热议问题