Tinder / Scarlet

A Retrofit inspired WebSocket client for Kotlin, Java, and Android
Other
3.24k stars 239 forks source link

com.tinder.scarlet.Lifecycle not found version 0.1.10 #136

Open fadibouteraa opened 4 years ago

fadibouteraa commented 4 years ago

e: error: cannot access Lifecycle class file for com.tinder.scarlet.Lifecycle not found Consult the following stack trace for details. com.sun.tools.javac.code.Symbol$CompletionFailure: class file for com.tinder.scarlet.Lifecycle not found

adamacdo commented 4 years ago

That was happening to me as well. No matter how many times I cleaned, or rebuilt, or invalidated my cache & restarted, the error kept popping up.

As a nuclear approach, I commented out Scarlet from the app entirely and I was able to get past the error. It turns out there was a separate compilation error with my code (I had extended an internal test class, but had not declared the child test class as internal). Once I fixed the underlying issue and re-added Scarlet it worked on the first attempt.

Hopefully that helps shed some light on something.

aaronweihe commented 4 years ago

may i see your build scripts?