react-native-pager-view icon indicating copy to clipboard operation
react-native-pager-view copied to clipboard

[Android] Task :react-native-pager-view:compileReleaseKotlin FAILED

Open bulkinav opened this issue 1 year ago • 0 comments

Environment

"react-native": "0.73.6" "react-native-pager-view": "6.2.3"

IS_NEW_ARCHITECTURE_ENABLED = TRUE bridgelessEnabled = FALSE

Android Studio 2023.2.1

buildToolsVersion = "34.0.0" minSdkVersion = 23 // Android 6.0 and above compileSdkVersion = 34 // Android 14 (gives access to new APIs) targetSdkVersion = 33 // Android 13 ndkVersion = "25.1.8937393" kotlinVersion = "1.8.22"

Description

Hello,

When I'm trying to build the my project (release or begug - it does not matter) with IS_NEW_ARCHITECTURE_ENABLED = TRUE, the following error occurs:

> Task :react-native-pager-view:compileReleaseKotlin FAILED
e: file:/app-react/node_modules/react-native-pager-view/android/src/fabric/java/com/reactnativepagerview/PagerViewViewManager.kt:23:7 Redeclaration: PagerViewViewManager
e: file:/app-react/node_modules/react-native-pager-view/android/src/paper/java/com/reactnativepagerview/PagerViewViewManager.kt:21:7 Redeclaration: PagerViewViewManager

bulkinav avatar Mar 14 '24 09:03 bulkinav