今天导入aar出现一个错误、找不到aar
signing.properties not found
app104946: 'annotationProcessor' dependencies won't be recognized as kapt annotation processors. Please change the configuration name to 'kapt' for these artifacts: 'com.github.bumptech.glide:compiler:4.7.1', 'com.jakewharton:butterknife-compiler:8.8.1' and apply the kapt plugin: "apply plugin: 'kotlin-kapt'".
CONFIGURE SUCCESSFUL in 0s
ERROR: Unable to resolve dependency for ':app104946@noGPlayDebug/compileClasspath': Could not find :104954_2019081311:.
Show Details
Affected Modules: app104946
ERROR: Unable to resolve dependency for ':app104946@noGPlayDebugAndroidTest/compileClasspath': Could not find :104954_2019081311:.
Show Details
Affected Modules: app104946
ERROR: Unable to resolve dependency for ':app104946@noGPlayDebugUnitTest/compileClasspath': Could not find :104954_2019081311:.
Show Details
Affected Modules: app104946
ERROR: Unable to resolve dependency for ':app104946@noGPlayRelease/compileClasspath': Could not find :104954_2019081311:.
Show Details
Affected Modules: app104946
ERROR: Unable to resolve dependency for ':app104946@noGPlayReleaseUnitTest/compileClasspath': Could not find :104954_2019081311:.
Show Details
Affected Modules: app104946
解决方法
在module.gradle文件下增加下面这个就好了
android {
repositories {
flatDir {
dirs 'libs'
}
}
}