react-native-gesture-handler icon indicating copy to clipboard operation
react-native-gesture-handler copied to clipboard

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

Open vinaykumarIndia opened this issue 5 months ago • 9 comments

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

vinaykumarIndia avatar Jun 17 '25 06:06 vinaykumarIndia