Rank 1: Thread
Hi guys. I have very interesting problem. Right after adding AppWrite dependencies to pabspec.yaml in my Flutter project I get givven this error:
Votes
1
Replies
9
Participants
Unknown
Messages
10
Rank 1: Thread
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:
android/app and open the build.gradle file.dependencies {} code block.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")
}
}
}
flutter clean from your project root. Follow it up with dart pub get and flutter pub get to install all the dependencies that were cleaned.@Chewbacca @Samuel Kings
Let me know if this works!
Rank 1: Thread
I will try it, thanks
Rank 1: Thread
@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
Rank 1: Thread
okay
Rank 1: Thread
[SOLVED] Error after adding Appwrite to Pubscpec.yaml FLUTTER
Rank 3: Container
@safwan Thanks a lot. Works like magic
glad it helped!