Skip to content

Type mismatch: inferred type is java.util.HashMap<String, Any>? but kotlin.collections.HashMap<String, Any?>? /* = java.util.HashMap<String, Any?>? */ was expected #161

@HariPrasanthR

Description

@HariPrasanthR

Description

Task :react-native-community_image-editor:compileReleaseKotlin FAILED
e: file: /node_modules/@react-native-community/image-editor/android/src/main/java/com/reactnativecommunity/imageeditor/ImageEditorModuleImpl.kt:161:29 Type mismatch: inferred type is java.util.HashMap<String, Any>? but kotlin.collections.HashMap<String, Any?>? /* = java.util.HashMap<String, Any?>? / was expected
e: file: /node_modules/@react-native-community/image-editor/android/src/main/java/com/reactnativecommunity/imageeditor/ImageEditorModuleImpl.kt:164:72 Type mismatch: inferred type is java.util.HashMap<String, Any>? but kotlin.collections.HashMap<String, Any?>? /
= java.util.HashMap<String, Any?>? */ was expected

Reproducible Demo

RN version 0.75.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions