在我的应用程序中,我将一些依赖项添加到buld.gradle
文件中,点击同步按钮显示以下错误:
Failed to resolve: support-core-utils
Open File
我的build.gradle:
dependencies {
implementation 'com.android.support:support-v4:27.1.0'
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:27.1.0'
compile 'com.android.support:design:27.1.0'
compile 'com.android.support.constraint:constraint-layout:1.0.2'
compile 'com.android.support:cardview-v7:27.1.0'
//Retrofit, gson
compile 'com.squareup.retrofit2:converter-scalars:2.1.0'
compile 'com.squareup.retrofit2:retrofit:2.3.0'
compile 'com.squareup.retrofit2:converter-gson:2.3.0'
//
compile('ir.approo:helper:0.4.7-SNAPSHOT')
compile('ir.approo:core:0.4.7-SNAPSHOT')
}
添加此行时会显示错误:
编译(' ir.approo:助手:0.4.7-SNAPSHOT') 编译(' ir.approo:核心:0.4.7-SNAPSHOT&#39)
我在依赖下面添加了build.gradle
,然后点击同步,但再次向我显示错误:
compile 'com.android.support:support-core-utils:27.1.0'
我该如何解决?