android permission Suggestion: add 'tools:replace="android:value" 报错

在项目的bulid.gradle下的android {}里加入下面的代码: useVersion 的版本号是报错需要对应的版本号

    configurations.all {
        resolutionStrategy.eachDependency { DependencyResolveDetails details ->
            def requested = details.requested
            if (requested.group == 'com.android.support') {
                if (!requested.name.startsWith("multidex")) {
                    details.useVersion '26.1.0'
                }
            }
        }
    }

你可能感兴趣的:(Android,tools:replace)