Rasoul Miri
Rasoul Miri

Reputation: 12232

Conflict in version dependency in Android Gradle

I need to add dependency RESTMock, but I get this error in Gradle.

 project :app > com.github.andrzejchm.RESTMock:android:0.3.3 > com.github.andrzejchm.RESTMock:core:0.3.3 > com.squareup.okhttp3:okhttp-tls:3.13.1

but I use com.squareup.okhttp3:okhttp-tls:3.12.1 in project.

I need version 3.12.1 and RESTMock together, anyway can I have together?

Upvotes: 0

Views: 162

Answers (1)

Jonathas Nascimento
Jonathas Nascimento

Reputation: 290

try update

com.squareup.okhttp3:okhttp-tls:3.12.1

to

com.squareup.okhttp3:okhttp-tls:3.13.1

Maybe com.github.andrzejchm.RESTMock:core:0.3.3 needs a newer version of okhttp

Upvotes: 2

Related Questions