getsentry/sentry-java

Could not find io.sentry:sentry-android-okhttp:8.1.0.

Closed this issue · 3 comments

Integration

sentry-android

Build System

Gradle

AGP Version

8.8.0

Proguard

Enabled

Version

8.1.0

Steps to Reproduce

upgrade sentry version from 7.16.0 to 8.1.0

Expected Result

Project sync successfully

Actual Result

getting error during gradle sync

Could not find io.sentry:sentry-android-okhttp:8.1.0.
     Searched in the following locations:
       - https://dl.google.com/dl/android/maven2/io/sentry/sentry-android-okhttp/8.1.0/sentry-android-okhttp-8.1.0.pom
       - https://repo.maven.apache.org/maven2/io/sentry/sentry-android-okhttp/8.1.0/sentry-android-okhttp-8.1.0.pom
       - https://jitpack.io/io/sentry/sentry-android-okhttp/8.1.0/sentry-android-okhttp-8.1.0.pom
       - file:/Users/rovkinmax/.m2/repository/io/sentry/sentry-android-okhttp/8.1.0/sentry-android-okhttp-8.1.0.pom

Hey @rovkinmax, thanks for reporting! Starting with 8.0.0 we removed the io.sentry:sentry-android-okhttp dependency in favor of io.sentry:sentry-okhttp, see our changelog for more details.

@markushi I don't explicitly connect the io.sentry:sentry-android-okhttp dependency. I have only io.sentry:sentry-android and that's it

Oh, I forgot upgrade gradle plugin, that is the reason.