-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
🐛 Bug Report: Failed to resolve: com.squareup.okhttp3:okhttp-bom:4.10.0 #42
Comments
Any update on this issue, Have anyone find any solution or workaround for this issue. |
You can go ahead and down your AGP version to 8.1.1. I think it will work fine. @JackuXL |
does anyoneknow how can i downgrade the AGP version? |
Downgrading to lower AGP version will work in this case but I hope this issue gets resolved quickly for newer AGP versions. |
I am facing the same issue, does that mean that we cannot compile with latest versions now? Is it because the appwrite is using the older version of the |
same issue... anyone could fix it? |
Thank you for reporting the issue, we are looking into it and will resolve this soon. |
same issue with AGP version 8.2.1 i had to downgrade it to 8.1.4 |
same issue in AGP version 8.2.0 any fixes for this except downgrading to 8.1.1 or 8.1.4? |
any news here? |
PR is not merged |
Not yet. PR was merged on SDK-Generator. |
and now? :) |
anyone here? :) ping |
@christyjacob4 can we finally merge/build it? |
😄 it's 2:30 AM in India, |
Issue could be avoided with excluding okhttp from appwrite library. But you have to add okhttp bom yourself. implementation(libs.appwrite) {
exclude(group = "com.squareup.okhttp3", module = "okhttp-bom")
}
implementation(platform(libs.okhttp.bom)) |
Hi! Can you explain how to exclude... I'm trying but got an error on "libs"...., I'm quite new developing on Android. Thanks in advance |
Just add these Mine declaration uses version catalog, thats why it starts with "libs" |
any update ? |
@lohanidamodar 5.0.0 doesn't seem to have fixed this. |
any update? |
Can you share the issue you get with 5.0.0? The latest version is using AGP 8.2.2 and okhttp 4.12.0 |
Not sure if relevant, but I'm using AGP 8.3.1 and Groovy. Using Warning details:
|
I am facing the same issue and I need to use Appwrite urgently. Can any @moderator please help?? |
I think you might have to just downgrade and pin Seems like there's a dependency conflict, in your gradle files. |
This should be fixed for AGP 8.2+ in release 5.1.0 🎉 |
👟 Reproduction steps
After adding "implementation("io.appwrite:sdk-for-android:4.0.0")" to my build.gradle.kts
👍 Expected behavior
BUILD SUCCESSFUL
👎 Actual Behavior
Failed to resolve: com.squareup.okhttp3:okhttp-bom:4.10.0
🎲 Appwrite version
Appwrite Cloud
💻 Operating system
Linux
🧱 Your Environment
Kotlin SDK
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: