Skip to content

Kotlin Compilation Fails – Unresolved Supertype ViewManagerWithGeneratedInterface and Cannot access 'ViewManagerWithGeneratedInterface' which is a supertype of ... #3564

Closed as not planned
@vinaykumarIndia

Description

@vinaykumarIndia

Description

React Native: 0.76.5
React: 18.3.1
react-native-reanimated: 3.16.7
react-native-screens: 4.6.0
Gradle: 8.10.2
Kotlin: 2.0.21. e: RNGestureHandlerButtonViewManager.kt: Cannot access 'ViewManagerWithGeneratedInterface'
which is a supertype of 'RNGestureHandlerButtonViewManager'.
Check your module classpath for missing or conflicting dependencies.

Steps to reproduce

Try to build the Android project using npm run android.
Compilation fails with Kotlin errors.

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

https://1drv.ms/i/c/ba34a1b67a6d11bb/EWDlcVaAayxHhxD15VpNqm0BLOv-T82jaRwpHbpm42oIXA?e=PeQdhB

Gesture Handler version

2.23.1

React Native version

0.76.5

Platforms

MacOS

JavaScript runtime

None

Workflow

React Native (without Expo)

Architecture

None

Build type

Debug mode

Device

Android emulator

Device model

No response

Acknowledgements

Yes

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