Hi there!
After update, I got ton of some "redeclaration" (and other) Kotlin errors
Luckly, I was able to solve them with:
# in my app directory
flutter clean
cd android
./gradlew clean
cd ..
flutter pub get
flutter run
# Yay it works!
Also in android/build.gradle i updated ext.kotlin_version to '1.5.10', but it was for other plugins so it may not be required for foreground_task
I'm leaving this here in case someome has this issue too (dunno if I should close it right ahead or leave it open 🤷)
Hi there!
After update, I got ton of some "redeclaration" (and other) Kotlin errors
Luckly, I was able to solve them with:
Also in
android/build.gradlei updatedext.kotlin_versionto'1.5.10', but it was for other plugins so it may not be required forforeground_taskI'm leaving this here in case someome has this issue too (dunno if I should close it right ahead or leave it open 🤷)