Debuging Error
lucianmoon opened this issue · 2 comments
lucianmoon commented
怎么解啊?
Could not determine the dependencies of task ':app:kaptDebugKotlin'.
> Could not resolve all files for configuration ':app:kotlinKaptWorkerDependencies'.
> Could not find org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.4.21.
Searched in the following locations:
- https://dl.google.com/dl/android/maven2/org/jetbrains/kotlin/kotlin-annotation-processing-gradle/1.4.21/kotlin-annotation-processing-gradle-1.4.21.pom
- https://jitpack.io/org/jetbrains/kotlin/kotlin-annotation-processing-gradle/1.4.21/kotlin-annotation-processing-gradle-1.4.21.pom
Required by:
project :app
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
lucianmoon commented
可以拍个教程影片吗 一定会火爆
Xigong93 commented
抱歉,是因为Jcenter的问题,我已经添加了mavenCentral