Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation failed due to missing class CustomEditText in react-native-date-picker #885

Open
Ajay12234567898765432 opened this issue Jan 16, 2025 · 0 comments

Comments

@Ajay12234567898765432
Copy link

Describe the bug
I'm faced a build failure when trying to run my React Native project on Android after upgrading. The error seems to be related to the react-native-date-picker package, where it's unable to find the CustomEditText class in the NumberPicker component during compilation.

Expected behavior

/Users/AjayCR/.../react-native-date-picker/android/build/generated/data_binding_base_class_source_out/debug/out/com/henninghall/date_picker/databinding/NumberPickerMaterialBinding.java:17: error: cannot find symbol
private final NumberPicker.CustomEditText rootView;
^
symbol: class CustomEditText
location: class NumberPicker
...

Environment:

Expo: 52.0.25
React Native Version: 0.76.5
React Native Date Picker Version: 5.0.7

Additional Information:

I have tried updating the library to the latest version and Downgarding, but the issue persists.
I also tried cleaning the build cache using ./gradlew clean but did not resolve the issue.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant