由于此错误,Android 工作室无法synchronize
评分和构建我的应用
ERROR: Failed to resolve: com.android.support.constraint:constraintlayout:1.1.3
Show in Project Structure dialog
Affected Modules: app
请问我该如何解决这个问题?
如果您使用的是支持库,请使用
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
而不是
implementation 'com.android.support.constraint:constraintlayout:1.1.3'
如果您使用的是androidx库,请使用。
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
尝试包含此库
implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
而这个
repositories {
maven {
url 'https://maven.google.com'
}
}
我也有类似的问题。据我了解,MSAL仅针对AndroidX发布,而不是针对支持库发布。 是否有计划发布它支持支持库?