Skip to content

'validateAndroidProps' of undefined on Android #1022

Open

Description

@jayweb007

Question

TypeError: Cannot read property 'validateAndroidProps' of undefined

getting the above error on react-native "0.78.2" and react native community version 8.0.0 , 8.2.0 and 8.5.0

Activity

  1. jayweb007 commented on Oct 31, 2025

    @jayweb007
    Author

    Please if anyone can help with the above error

  2. bdtren commented on Oct 31, 2025

    @bdtren

    I'm replicated the issue right now. Have to rollback to 8.4.5 to fix it:

    yarn add @react-native-community/datetimepicker@8.4.5
    
  3. jayweb007 commented on Oct 31, 2025

    @jayweb007
    Author

    @bdtren thanks you very much

  4. ibm2187 commented on Oct 31, 2025

    @ibm2187

    it didn't work for me; I got the same error and
    Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNCDatePicker' could not be found. Verify that a module by this name is registered in the native binary., js engine: hermes Error Component Stack:

  5. TeyimPila commented on Oct 31, 2025

    @TeyimPila

    it didn't work for me; I got the same error and Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNCDatePicker' could not be found. Verify that a module by this name is registered in the native binary., js engine: hermes Error Component Stack:

    I am also facing this issue. Please, can anyone help?

  6. rutul089 commented on Nov 1, 2025

    @rutul089

    it didn't work for me; I got the same error and Invariant Violation: TurboModuleRegistry.getEnforcing(...): 'RNCDatePicker' could not be found. Verify that a module by this name is registered in the native binary., js engine: hermes Error Component Stack:

    Also facing the same issue

  7. jayweb007 commented on Nov 1, 2025

    @jayweb007
    Author

    Hello @ibm2187 @TeyimPila @rutul089

    my React Native is 0.78.2 and react-native-community/datetimepicker is 8.5.0 that was previously installed, so, i have to rollback to 8.4.5 to fix it:

    yarn add @react-native-community/datetimepicker@8.4.5

    without uninstall the previous (8.5.0), i just installed the 8.4.5 to replace it.

    All thanks to @bdtren 💌

  8. bdtren commented on Nov 1, 2025

    @bdtren

    Hi guys,
    I'm not sure if this will help, but in my case, I updated it because of Google's 16KB memory policy.
    I had to update to react-native 0.77.3 and react-native-community/datetimepicker 8.4.5. I also tried with another project that use react native 0.79.2 and it working.
    So maybe this fix doesn’t work with react-native versions < 0.77 or >= 0.80?

  9. soyadrianhurtado commented on Nov 2, 2025

    @soyadrianhurtado

    Hi guys, I have the same problem.

    @react-native-community/datetimepicker": "^8.1.1"
    react-native": "0.74.2"

  10. rutul089 commented on Nov 3, 2025

    @rutul089

    Hello @ibm2187 @TeyimPila @rutul089

    my React Native is 0.78.2 and react-native-community/datetimepicker is 8.5.0 that was previously installed, so, i have to rollback to 8.4.5 to fix it:

    yarn add @react-native-community/datetimepicker@8.4.5

    without uninstall the previous (8.5.0), i just installed the 8.4.5 to replace it.

    All thanks to @bdtren 💌

    I have same config for both but somehow it's not working for me

  11. ibm2187 commented on Nov 3, 2025

    @ibm2187

    I have fixed it by upgrading my CLI versions from 15.something to the latest version (20.0.2) using datetimepicker ^8.4.4

  12. TeyimPila commented on Nov 4, 2025

    @TeyimPila

    I have fixed it by upgrading my CLI versions from 15.something to the latest version (20.0.2) using datetimepicker ^8.4.4

    Which CLI?

  13. shahanaahmad commented on Nov 20, 2025

    @shahanaahmad

    I am also getting the same issue on react native 0.75.5. Is there any update?

  14. ben-snaize-fg commented on Nov 22, 2025

    @ben-snaize-fg

    Hello @ibm2187 @TeyimPila @rutul089

    my React Native is 0.78.2 and react-native-community/datetimepicker is 8.5.0 that was previously installed, so, i have to rollback to 8.4.5 to fix it:

    yarn add @react-native-community/datetimepicker@8.4.5

    without uninstall the previous (8.5.0), i just installed the 8.4.5 to replace it.

    All thanks to @bdtren 💌

    Can confirm this worked for our Storybook App. SB references this datepicker so we had to pin the version to 8.4.7 to stop the TurboModules crash.

  15. siddhantkazam commented on Nov 25, 2025

    @siddhantkazam

    Gettting the same issue on "react-native": "0.75.2", Anyone find the solution?

  16. shahana0994 commented on Dec 2, 2025

    @shahana0994

    I was also getting same issue with react native version 0.77.3 and datetimepicker version 8.5.1.
    The solution that worked for me is downgrading datetimepicker to 8.4.4.

  17. cblaze22 commented on Dec 10, 2025

    @cblaze22

    I was also getting same issue with react native version 0.77.3 and datetimepicker version 8.5.1. The solution that worked for me is downgrading datetimepicker to 8.4.4.

    You still not getting error?

    Same issue here

    react-native": "0.78.1"
    @react-native-community/datetimepicker": "^8.4.4",

  18. stanislav-sidorov commented on Jan 27, 2026

    @stanislav-sidorov

    for those who have crash on 8.5.0+ and new arch

    try reverting this commit and patch

    1ff05e1

    @react-native-community+datetimepicker+8.6.0.patch

  19. yongchunli-itc commented on Feb 17, 2026

    @yongchunli-itc

    for those who have crash on 8.5.0+ and new arch

    try reverting this commit and patch

    1ff05e1

    @react-native-community+datetimepicker+8.6.0.patch

    thanks

  20. Yashveer-Soni commented on Mar 21, 2026

    @Yashveer-Soni

    for those who have crash on 8.5.0+ and new arch

    try reverting this commit and patch

    1ff05e1

    @react-native-community+datetimepicker+8.6.0.patch

    thanks buddy

  21. andhikanovandi commented on May 25, 2026

    @andhikanovandi

    For anyone who is still experiencing this issue, try to upgrade the react-native-community/cli: react-native-community/cli#2563 (comment)

    For me, RN 0.77.3 & datetimepicker 8.6.0, this fix the issue:

    "@react-native-community/cli": "15.1.3",
    "@react-native-community/cli-platform-android": "15.1.3",
    "@react-native-community/cli-platform-ios": "15.1.3",
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions