New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NoClassDefFoundError: Logging Interceptor v3.12.0 #4436
Comments
Unclear what action we would take here. |
@swankjesse, the action is looking into if and how the Judging from similar exception's with other libraries in the past, this may be regarding Square's dependency / sub-dependencies with Google's Guava library. |
@AdamSHurwitz I copied/pasted the files you provided and had to fix a few compiler issues. But it seems working for me. Post a complete example? |
@dave-r12 Thank you for investigating! This leads me to believe it is an issue with the build environment. What Project SDK (File > Project Structure > Project SDK) are you using? My Project SDK: IntelliJ IDEA Community Edition IC-183.4284.148 Currently the existing code is not open source friendly so I will need to create a new sample app in order to share if it is not an environment fix. |
@AdamSHurwitz I don't follow. I downloaded that IntelliJ version and it's still working. Also I'm building with OpenJDK11. |
@dave-r12, interesting. It seems the build environment may not be the issue then. I will create a new app to share if the problem persists. |
Issue
After adding the Square Okhttp Logging Interceptor library to my Kotlin app I am experiencing the following error which I think may be due to a Guava dependency conflict. I've created a StackOverflow post as well.
Error
Setup
build.gradle (dependency scan)
Retrofit.kt
Attempted Solutions
build.gradle
The text was updated successfully, but these errors were encountered: