
Hi guys. I have very interesting problem. Right after adding AppWrite dependencies to pabspec.yaml in my Flutter project I get givven this error:

This is an error I came across as well. Here's how to fix it:
- In your Flutter project, navigate to
android/app
and open thebuild.gradle
file. - Scroll all the way down to where you see the
dependencies {}
code block. - Replace the full
dependencies
block with the following code:
dependencies {
constraints {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.0") {
because("kotlin-stdlib-jdk7 is now a part of kotlin-stdlib")
}
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.0") {
because("kotlin-stdlib-jdk8 is now a part of kotlin-stdlib")
}
}
}
- Save the file, and run
flutter clean
from your project root. Follow it up withdart pub get
andflutter pub get
to install all the dependencies that were cleaned. - Run your project 🤞🏻

@Chewbacca @Samuel Kings Let me know if this works!

I will try it, thanks

@safwan thank you very much, It works

Glad it does! Can you change the title of this post to [SOLVED] Error after adding Appwrite to Pubscpec.yaml FLUTTER

okay

[SOLVED] Error after adding Appwrite to Pubscpec.yaml FLUTTER

@safwan Thanks a lot. Works like magic

glad it helped!
Recommended threads
- Im getting this error when i try to crea...
SSLV3_ALERT_BAD_RECORD_MAC(tls_record.cc:583) error 268436476, uri=https://cloud.appwrite.io/v1/storage/buckets/67bxxxxxxxxxxxxd026/files (0) as well as this e...
- domain SSL error
im getting error when executing ssl ``` appwrite-worker-certificates | [Job] Received Job (67bfb1dc953401.66385800). appwrite-worker-certificates | Cannot re...
- How to store rich text like blogs in app...
I want to store rich text like an article in flutter. I've found out flutter_quill is best package for writing rich text but it outputs as a json. How can I sto...
