com.android.support:support-fragment‘ has different version for the compile (25.3.1) and runtime (27

bug 记录

 

解决 在项目build.gradle 末尾 里面添加代码

 


subprojects {
    project.configurations.all {
        resolutionStrategy.eachDependency { details ->
            if (details.requested.group == 'com.android.support'
                    && !details.requested.name.contains('multidex')) {
                details.useVersion "25.3.1"
            }
        }
    }
}

自己已经解决,验证过。

你可能感兴趣的:(android,studio,android,半成品,android,项目)