Skip to content

Error in TaskDao.kt when compiling with SDK 35 - kotlin.String issue #1005

@adminant

Description

@adminant

Flutter 3.24.7
Android SDK 35
flutter_downloader 1.11.8

During compile the error emerges:

file:///Users/<user>/.pub-cache/hosted/pub.dev/flutter_downloader-1.11.8/android/src/main/kotlin/vn/hunghd/flutterdownloader/TaskDao.kt:96:34 Argument type mismatch: actual type is 'kotlin.String?', but 'kotlin.String' was expected.

If SDK is downgraded to 34, project gets compiled successfully

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions