Skip to content

Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of 'RNGestureHandlerButtonViewManager #3573

Closed as duplicate

Description

@camboYY

Description

"react-native-gesture-handler": "^2.24.0",
"react-native": "0.75.4",

Steps to reproduce

just release app

A link to a Gist, an Expo Snack or a link to a repository based on this template that reproduces the bug.

not exist

Gesture Handler version

2.25.0

React Native version

0.75.4

Platforms

Android

JavaScript runtime

None

Workflow

None

Architecture

None

Build type

None

Device

None

Device model

No response

Acknowledgements

Yes

Activity

  1. github-actions commented on Jun 23, 2025

    @github-actions

    Hey! 👋

    The issue doesn't seem to contain a minimal reproduction.

    Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

  2. m-bert commented on Jun 23, 2025

    @m-bert
    Collaborator

    Closing as duplicate of #3564

  3. Abhishek2250 commented on Jul 13, 2025

    @Abhishek2250

    Fixed @camboYY
    I had other libraries like:

    1. @react-navigation/stack@6.4.1
    2. react-native-draggable-flatlist@4.0.3
    3. react-native-drax@0.10.3
      which has peer dependencies for react-native-gesture-handler and these libraires were installing latest react-native-gesture-handler. To check, run this: npm ls react-native-gesture-handler
      To fix this, i had to add:
      "overrides": {
      "react-native-gesture-handler": "2.23.1"
      }
      at last of the package.json file.
      NOte: "react-native": "0.74.7",
  4. FiveEightyEight commented on Aug 10, 2025

    @FiveEightyEight

    To anyone running into this issue, just remember the caret ^ operator can bump the version you've declared in your package.json. It was happening to me where I had "react-native-gesture-handler": "^2.24.0" but 2.26.0 would install instead.

    Ensure you have the correct react-native-gesture-handler version corresponding to your react-native version

    @camboYY removing the caret should solve your issue:

    "react-native-gesture-handler": "2.24.0",
    "react-native": "0.75.4",
    
  5. onlybenyang commented on Sep 8, 2025

    @onlybenyang

    @FiveEightyEight your solution is work for me. the following is my conf. thanks

    "react-native": "0.77.3",
    "react-native-gesture-handler": "2.24.0"
    
  6. Wesleyomnion commented on Sep 10, 2025

    @Wesleyomnion

    @FiveEightyEight, It worked for me. Thank you very much.

    "react-native": "0.77.3", "react-native-gesture-handler": "2.24.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions