Attribute meta-data#android.support.VERSION@value value=(25.3.1) from [com.android.support:appcompat
2017-05-15 19:59
429 查看
问题:
Attribute meta-data#android.support.VERSION@value value=(25.3.1) from [com.android.support:appcompat-v7:25.3.1] AndroidManifest.xml:27:9-31 is also present at
原因:Manifest中的版本和library中引用的recyclerview版本不一样,需要在gradle中将其强制转换成相同的版本。
解决办法:
在Gradle(Module:APP)中最后面加上
Attribute meta-data#android.support.VERSION@value value=(25.3.1) from [com.android.support:appcompat-v7:25.3.1] AndroidManifest.xml:27:9-31 is also present at
原因:Manifest中的版本和library中引用的recyclerview版本不一样,需要在gradle中将其强制转换成相同的版本。
解决办法:
在Gradle(Module:APP)中最后面加上
configurations.all { resolutionStrategy.eachDependency { DependencyResolveDetails details -> def requested = details.requested if (requested.group == 'com.android.support') { if (!requested.name.startsWith("multidex")) { details.useVersion '25.3.0' } } } }
相关文章推荐
- Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(25.3.1) from
- Manifest merger failed : Attribute meta-data#android.support.VERSION@value value=(25.3.1)
- 解决类似Error:Could not find com.android.support:appcompat-v7:25.3.1.
- ’com.android.support:appcompat-v7:version‘不兼容
- Could not find any version that matches com.android.support:appcompat-v7:+
- Android -- uses-sdk:minSdkVersion 10 cannot be smaller than version L declared in library com.android.support:appcompat-v7:21.0.0-rc1
- Error:Failed to find: com.android.support:appcompat-v7:21.+
- Error:Failed to find: com.android.support:appcompat-v7:21.+
- 解决Android Studio打开他人包时出现Failed to find: com.android.support:appcompat-v7:21
- android studio :com.android.support:appcompat-v7:21.+ 报错
- 关于 Android Studio中的compile 'com.android.support:appcompat-v7:23.+'出现的警告
- Gradle构建错误,Failed to find: 'com.android.support:appcompat-v7:23.+'解决方法
- Android Studio 报错:Failed to find:com.android.support:appcompat-v7:21.+
- Could not resolve com.android.support:appcompat-v7:22.2.1
- Android Studio新建工程Gradle编译报错(com.android.support:appcompat-v7:16.+)
- Android Studio遇到Error:Failed to find: com.android.support:appcompat-v7:21.+
- Failed to find: com.android.support:appcompat-v7:22.0.0报错解决
- 在fragment中调用getSupportActionBar (com.android.support:appcompat-v7)
- com.android.support:appcompat-v7:21.+.
- android studio R文件报错,com.android.support:appcompat-v7:21.+.