chat21 / chat21-android-sdk

Android Chat SDK built on Firebase
http://www.chat21.org
MIT License
233 stars 98 forks source link

Could not find design.jar (com.android.support:design:26.1.0) issue #14

Closed sapandang closed 6 years ago

sapandang commented 6 years ago

was unable to build project by cloning getting Could not find design.jar (com.android.support:design:26.1.0) issue

Fixed by changing the resolutionStrategy version to 26.+


// resolve conflicts
configurations.all {
    resolutionStrategy.eachDependency { DependencyResolveDetails details ->
        def requested = details.requested
        // android resolution
        // source : https://stackoverflow.com/questions/43280871/android-getting-manifest-merger-failed-error-after-update-to-new-version-of-grad
        if (requested.group == 'com.android.support') {
            if (!requested.name.startsWith("multidex")) {
                // details.useVersion '26.1.0'
                details.useVersion '26.+'
            }
        }
stefanodp91 commented 6 years ago

Hi sapandang, as described within the readme, this is a common issue. You have to replace the resolution strategy non inside the Chat21 SDK, but in your own project. You can get more details here