Skip to content

Android build fails with errors #164

Open
@mantu-bit

Description

@mantu-bit

Before submitting a new issue

  • I tested using the latest version of the library, as the bug might be already fixed.
  • I tested using a supported version of react native.
  • I checked for possible duplicate issues, with possible answers.

Bug summary

Task :lodev09_react-native-true-sheet:compileDebugKotlin FAILED
e: file:///Users/itech/Desktop/Live_Projects/mobile_carpool/RideToDuty-Customer/node_modules/@lodev09/react-native-true-sheet/android/src/main/java/com/lodev09/truesheet/core/RootSheetView.kt:63:66 Too many arguments for public open fun handleTouchEvent(p0: MotionEvent!, p1: EventDispatcher!): Unit defined in com.facebook.react.uimanager.JSTouchDispatcher
e: file:///Users/itech/Desktop/Live_Projects/mobile_carpool/RideToDuty-Customer/node_modules/@lodev09/react-native-true-sheet/android/src/main/java/com/lodev09/truesheet/core/RootSheetView.kt:72:66 Too many arguments for public open fun handleTouchEvent(p0: MotionEvent!, p1: EventDispatcher!): Unit defined in com.facebook.react.uimanager.JSTouchDispatcher

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':lodev09_react-native-true-sheet:compileDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Compilation error. See log for more details

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
Get more help at https://help.gradle.org.

Library version

2.0.5

Environment info

Expo 51

Steps to reproduce

  1. Install latest version
  2. run prebuild command
  3. try to run android build
  4. build fails with errors

Reproducible example repository

not available

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions