Skip to content

Kotlin Redeclaration error #15

@TheLastGimbus

Description

@TheLastGimbus

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 🤷)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions