我在build.gradle文件中出错
All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 28.0.0, 26.1.0. Examples include com.android.support:animated-vector-drawable:28.0.0 and com.android.support:support-media-compat:26.1.0 l
com.android.support:appcompat-v7:28.0.0-rc02
com.android.support:design:28.0.0-rc01 ->应该是 rc02 ,但实际上没有rc02。
错误:
app/build.gradle:74: Error: All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes).
Found versions 28.0.0-rc02, 28
我是android studio的新手,经常遇到问题(主要是在任何更新之后)。这个问题是在我做了"IDE和插件更新“之后出现的。现在我的项目都没有生成。
错误是这样的
Could not find method implementation() for arguments
[com.android.support:support-v4:28.0.0-alphal] on object of type
org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.
Please install t
我将一个由统一生成的项目导入到android工作室。我在build.gradle上有个问题。
我也安装了,但问题就在这里。这三个同步阶段的错误
"ERROR: Unable to resolve dependency for ':@debug/compileClasspath': Could not find any version that matches com.android.support:appcompat-v7:29.+.
Show Details
Affected Modules: AR
ERROR: Unable to resolve dependenc
当我将implementation 'com.google.android.gms:play-services-ads:18.2.0'添加到build.gradle中时,Android用错误突出显示implementation 'com.android.support:appcompat-v7:28.0.0':
Dependencies using groupId com.android.support and androidx.* can not be combined but found IdeMavenCoordinates{myGroupId='
我是Android新手。我想在我的项目中使用recyclerview,当我实现com.android.support:recyclerview v7:28.0.0来依赖并构建项目时,我得到了这个错误:
Could not find recyclerview-v7.jar (com.android.support:recyclerview-v7:28.0.0).
Searched in the following locations:
https://dl.google.com/dl/android/maven2/com/android/support/recyclerview-v7/28.0.
我将'android.support:appcompat-v7‘更新为28.0.0。
但它带来了构建过程中的错误。
Attribute application@appComponentFactory value=(android.support.v4.app.CoreComponentFactory) from [com.android.support:support-compat:28.0.0] AndroidManifest.xml:22:18-91
is also present at [androidx.core:core:1.0.0] AndroidManifest
我在一个库模块的gradle文件中使用用于compileSdkVersion和targetSdkVersion的API28和用于支持库(appcompat和support)的版本和28.0.0。我在文件中看不到任何其他版本,比如27或21。然而,安卓抱怨All com.android.support must use the same version specification. Found versions 28.0.0, 21.0.3。我想知道是什么导致了这个错误?有没有在幕后使用的其他库,有我不知道的不同版本?如何解决这个问题?