Skip to content

Task :react-native-gesture-handler:compileDebugKotlin FAILED #2427

Description

@inmess

Description

image
image

Dependencies:

  "dependencies": {
    "expo": "~47.0.12",
    "expo-status-bar": "~1.4.2",
    "react": "18.1.0",
    "react-native": "0.70.5",
    "react-native-gesture-handler": "^2.9.0",
    "react-native-reanimated": "^2.14.4",
    "expo-splash-screen": "~0.17.5"
  },
  "devDependencies": {
    "@babel/core": "^7.20.0"
  },

run in MacOS, m1

Steps to reproduce

What I've done:

  1. create a new project and run expo prebuild

  2. Install those dependencies(RNGH, react-native-reanimated) with yarn add

  3. Enable new arch by adding "jsEngine": "hermes" to app.json,

  4. In gradle.properties I changed:
    newArchEnabled=true and expo.jsEngine=hermes

  5. In android/app/build.gradle:
    def enableHermes = project.ext.react.get("enableHermes", true);

  6. Then I run cd android/ && ./gradlew clean

  7. While I run npx expo run:android, errors occurred as in the screenshots.

Snack or a link to a repository

https://github.com/inmess/rngh-bug-repo.git

Gesture Handler version

2.9.0

React Native version

0.70.5

Platforms

Android

JavaScript runtime

Hermes

Workflow

Expo bare workflow

Architecture

Fabric (New Architecture)

Build type

Debug mode

Device

Real device

Device model

No response

Acknowledgements

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions