react-native-picker / picker

Picker is a cross-platform UI component for selecting an item from a list of options.
MIT License
1.45k stars 273 forks source link

New version(2.7.0) compile time issue in android | Keeps app crashing #555

Closed vinod1988 closed 3 months ago

vinod1988 commented 3 months ago

React native version = 0.70.14

compileOptions { sourceCompatibility JavaVersion.VERSION_18 targetCompatibility JavaVersion.VERSION_18 }

Stack trace

FAILURE: Build failed with an exception.

ERROR Invariant Violation: requireNativeComponent: "RNCAndroidDialogPicker" was not found in the UIManager.

This error is located at: in RNCAndroidDialogPicker in PickerAndroid (created by Picker)

grnsmn commented 3 months ago

Same problem here in my project

grnsmn commented 3 months ago

I've just tried to pin version to 2.6.0 and after this run android work for me

Naturalclar commented 3 months ago

:tada: This issue has been resolved in version 2.7.1 :tada:

The release is available on:

Your semantic-release bot :package::rocket: