Skip to content

[Android] bottomactionsheet/RNBottomActionSheetModule.java:138: error: cannot find symbol #27

@apski

Description

@apski

Hi - I'm trying to do an Android build but I'm getting this error. Any ideas?

The package is linked and this seems to be a problem with the lib?

> Task :react-native-bottom-action-sheet:compileReleaseJavaWithJavac FAILED
/Users/.../node_modules/react-native-bottom-action-sheet/android/src/main/java/ui/bottomactionsheet/RNBottomActionSheetModule.java:138: error: cannot find symbol
        if (icon == null || icon.toHashMap().size() == 0) {
                                ^
  symbol:   method toHashMap()
  location: variable icon of type ReadableMap
/Users/.../node_modules/react-native-bottom-action-sheet/android/src/main/java/ui/bottomactionsheet/RNBottomActionSheetModule.java:190: error: cannot find symbol
      if (icon == null || icon.toHashMap().size() == 0) {
                              ^
  symbol:   method toHashMap()
  location: variable icon of type ReadableMap
2 errors

FAILURE: Build failed with an exception.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions