Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v4] | [v2] App not starting in android debug mode #1542

Closed
PrajTS opened this issue Sep 20, 2023 · 4 comments
Closed

[v4] | [v2] App not starting in android debug mode #1542

PrajTS opened this issue Sep 20, 2023 · 4 comments
Labels
bug Something isn't working no-issue-activity

Comments

@PrajTS
Copy link

PrajTS commented Sep 20, 2023

Bug

I need to use react-native-reanimated v2. During android build, I get this warning

WARNING reanimated - no version-specific reanimated AAR for react-native version 72 found. Falling back to AAR for react-native version 71. The react-native JSI interface is not ABI-safe yet, this may result in crashes. Please post a pull request to implement support for react-native version 72 to the reanimated repo. Thanks!.

image

When I try to run the app, the get the following error

` ERROR Error: Exception in HostFunction: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "_ZN8facebook5react19ReadableNativeArrayC1EN5folly7dynamicE" referenced by "/data/app/~~pJKVSOSw9TXUlUfK49FGTA==/com.onecode.gorhomv42-dXfMUFZfXOXDMwjZ0vJo_w==/lib/arm64/libreanimated.so"..., js engine: hermes
ERROR Invariant Violation: "main" has not been registered. This can happen if:

Metro (the local dev server) is run from the wrong folder. Check if Metro is running, stop it and restart it in the current project.
A module failed to load due to an error and AppRegistry.registerComponent wasn't called., js engine: hermes`

image

Environment info

Library Version
@gorhom/bottom-sheet 4.5.1
react-native 0.72.4
react-native-reanimated 2.17.0
react-native-gesture-handler 2.12.1

Steps To Reproduce

  1. create project with expo
  2. yarn add @gorhom/bottom-sheet@^4
  3. yarn add reanimated@2 react-native-gesture-handler
  4. Add plugin of renaimated to babel.config.js
  5. Add gesture handler hoc
  6. Add sample code from documentation
  7. run npx expo run:android

Reproducible sample code

https://github.com/PrajTS/reanimated-2-issue

@PrajTS PrajTS added the bug Something isn't working label Sep 20, 2023
@PrajTS PrajTS changed the title [v4] | [v2] Issue title [v4] [v2] App not starting in android debug mode Sep 20, 2023
@PrajTS PrajTS changed the title [v4] [v2] App not starting in android debug mode [v4] | [v2] App not starting in android debug mode Sep 20, 2023
@sondreluc
Copy link

As the warning states, unfortunately react-native-reanimated@v2 does not support react-native@v72. You either have to update to reanimated@v3, or seek help into getting reanimated@v2 to support in react-native@v72 in the reanimated repo.

@PrajTS
Copy link
Author

PrajTS commented Sep 21, 2023

Will react-native-reanimated@v3 work well with @gorhom/bottom-sheet@v4? I am facing some issues while issues keyboard handling when I use gorhom/bottom-sheet@v4 with reanimated@v3

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions
Copy link

This issue was closed because it has been stalled for 5 days with no activity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working no-issue-activity
Projects
None yet
Development

No branches or pull requests

2 participants