-
Notifications
You must be signed in to change notification settings - Fork 822
Open
Description
Bug Description
file_picker 10.3.3 fails to compile with Kotlin 2.1.0, showing multiple compilation errors related to missing FileInfo class and type inference issues.
Environment
- file_picker: 10.3.3
- Kotlin: 2.1.0
- Android Gradle Plugin: 8.13.0
- Flutter: 3.35.3
Error Messages
e: Cannot infer type for this parameter. Please specify it explicitly.
e: Unresolved reference 'FileInfo'.
e: Not enough information to infer type argument for 'R'.
Workaround
Downgrading to Kotlin 1.9.24 resolves the compilation errors.
Expected Behavior
Plugin should compile successfully with Kotlin 2.1.0, as this is the recommended version for Android API 36 support.
philips77, ddfreiling, MichaelCG8, andzejsw and HeavySnowJakarta
Metadata
Metadata
Assignees
Labels
No labels