增加房间的依赖提供了明显的错误合并
问题描述:
compile "android.arch.persistence.room:runtime:1.0.0-rc1"
我gradle这个文件,我得到以下后。任何线索如何解决这个问题?我尝试添加工具:replace =“android:value”,但它使我的应用程序崩溃。
Error:Execution failed for task ':app:processStagingDebugManifest'.
> Manifest merger failed : Attribute meta-data#[email protected] value=(26.0.2) from [com.android.support:design:26.0.2] AndroidManifest.xml:28:13-35
is also present at [com.android.support:support-core-utils:26.1.0] AndroidManifest.xml:28:13-35 value=(26.1.0).
Suggestion: add 'tools:replace="android:value"' to <meta-data> element at AndroidManifest.xml:26:9-28:38 to override.
答
只需使用版本的支持库26.1.0。
compile 'com.android.support:support-core-utils:26.1.0'
compile 'com.android.support:design:26.1.0'
//...
发布您的build.gradle –