A
A
Alexander Krupnov2017-01-11 09:28:48
Android
Alexander Krupnov, 2017-01-11 09:28:48

Error while compiling apk in React Native - org/slf4j/LoggerFactory. What to do?

Hello everybody! I'm trying to compile a project (android) in React Native. PhpStrorm development environment. Gives an error message

* What went wrong:
org/slf4j/LoggerFactory

* Exception is:
java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory
at org.gradle.logging.internal.slf4j.Slf4jLoggingConfigurer.configure(Slf4jLoggingConfigurer.java:42)
at org.gradle.logging.internal.DefaultLoggingConfigurer.configure(DefaultLoggingConfigurer .java:34)
at org.gradle.logging.internal.LoggingSystemAdapter.setLevel(LoggingSystemAdapter.java:55)

I don’t know what to install so that the error disappears) Google says that you need to download the file and put it somewhere. And where - it is not clear) And on one computer everything is ok, but on the other - this is such a thing.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Krupnov, 2017-01-13
@worlddev

Found the problem. The problem was in Gradle. Version 2.4. I had to delete and re-download. error gone)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question