Skip to content

Could not create task ':react-native-gesture-handler:checkIntegrityBetweenArchitectures'. > java.lang.reflect.UndeclaredThrowableException (no error message) #2952

Closed
@wogno

Description

@wogno

Description

When I run yarn android I get this error, when I delete but working well, but react navigation raise error of missing gesture-handler.

I change many version of package, but still get the same error

FAILURE: Build failed with an exception.

  • Where:
    Build file '/Users/sandwidimohamed/Documents/projects-software/my-projects/manage-app/top-project-app/node_modules/react-native-gesture-handler/android/build.gradle' line: 310

  • What went wrong:
    Execution failed for task ':tasks'.

Could not create task ':react-native-gesture-handler:checkIntegrityBetweenArchitectures'.
java.lang.reflect.UndeclaredThrowableException (no error message)

  • 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.

BUILD FAILED in 1m 28s
error Failed to install the app. Command failed with exit code 1: ./gradlew tasks FAILURE: Build failed with an exception. * Where:
Build file '/Users/sandwidimohamed/Documents/projects-software/my-projects/manage-app/top-project-app/node_modules/react-native-gesture-handler/android/build.gradle' line: 310 * What went wrong:
Execution failed for task ':tasks'.

Could not create task ':react-native-gesture-handler:checkIntegrityBetweenArchitectures'. > java.lang.reflect.UndeclaredThrowableException (no error message) * Try:

Steps to reproduce

  1. I just installed and yarn android, but work well on ios

Snack or a link to a repository

not link

Gesture Handler version

2.9.0

React Native version

0.72.3

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Paper (Old Architecture)

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