This message was deleted.
# community-support
s
This message was deleted.
c
Things I've tried: 1. specifying the version of okhttp to latest 2. trying to override okhttp version via
Copy code
configurations.all {
  resolutionStrategy {
    force("com.squareup.okhttp3:okhttp:4.10.0")
  }
}
v
What repositories have you define and where?
c
It ended up being java version 7 being the culprit. once i updated to 1.8 then everything worked.
what a weird error message from gradle though
v
There was most probably more information. But as you are using AS or IJ you might easily miss it due to this annoyance: https://youtrack.jetbrains.com/issue/IDEA-226613/Gradle-build-on-failed-build-IDE-auto-focuses-and-shows-incomplete-error-message-which-makes-it-hard-to-understand-why-build 2 so you need to select a higher node in the tree to see the actual error details.
c
thanks. ill star that