F
F
foonfyrick2020-10-25 12:16:43
android studio
foonfyrick, 2020-10-25 12:16:43

Room annotations give an error, what is the reason?

I've been googling for an hour and a half, and I changed the classpath, and changed it to kapt, how to solve this?
I connect:
implementation "android.arch.persistence.room:runtime:1.1.1"
annotationProcessor "android.arch.persistence.room:compiler:1.1.1"

Writes:
AILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':tryingroom:javaPreCompileDebug'.
> Could not resolve all files for configuration ':tryingroom:debugAnnotationProcessorClasspath'.
> Could not download kotlin-compiler-lite-1.0.3-k-1.2.40.jar (me.eugeniomarletti.kotlin.metadata:kotlin-compiler-lite:1.0.3-k-1.2.40)

> Could not download kotlin-stdlib-1.2.50.jar (org.jetbrains.kotlin:kotlin-stdlib:1.2.50)
> Could not download sqlite-jdbc-3.20.1.jar (org.xerial:sqlite-jdbc:3.20.1)
> Could not download guava-18.0.jar (com.google.guava:guava:18.0)
> Could not download gson-2.8.0.jar (com.google.code.gson:gson:2.8.0)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
foonfyrick, 2020-11-17
@foonfyrick

Complete removal and installation of the old version solved everything

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question