software-mansion / react-native-reanimated

React Native's Animated library reimplemented
https://docs.swmansion.com/react-native-reanimated/
MIT License
9.02k stars 1.3k forks source link

Chrome debugger not working shows white screen #4467

Closed master96 closed 8 months ago

master96 commented 1 year ago

Description

I am using react-native to develop SDK. To run I have another shell app that imports my react-native SDK.

"react-native-reanimated": "2.17.0", "react-native-gesture-handler": "2.10.0",

I am using the above versions. I am using react-native-reanimated-71-hermes.aar this dependency to run to project.

The project works fine without the chrome debugger but when using the chrome debugger I get stuck at the white screen without any errors. I can see javascript logs but after navigating screen is stuck on white.

Steps to reproduce

-

Snack or a link to a repository

-

Reanimated version

2.17.0

React Native version

0.71.2

Platforms

Android

JavaScript runtime

Hermes

Workflow

React Native (without Expo)

Architecture

Paper (Old Architecture)

Build type

Debug mode

Device

Real device

Device model

Poco x3 pro

Acknowledgements

Yes

github-actions[bot] commented 1 year ago

Hey! 👋

The issue doesn't seem to contain a minimal reproduction.

Could you provide a snack or a link to a GitHub repository under your username that reproduces the problem?

github-actions[bot] commented 1 year ago

Hey! 👋

It looks like you've omitted a few important sections from the issue template.

Please complete Steps to reproduce and Snack or a link to a repository sections.

CHANDRAMOHANnegi commented 1 year ago

Failed to print error: Cannot read properties of undefined (reading 'apply')

2023-05-11 19:26:31.595 31512-31512 ReactNative com.myapp I [GESTURE HANDLER] Tearing down gesture handler registered for root view com.facebook.react.ReactRootView{2b3512c V.E...... ......ID 0,0-1440,2420 #1}

App unresponsive on updating to reanimated 3

react-native : "0.69.7" "react-native-gesture-handler": "2.9.0" or "2.10.0" "react-native-reanimated": "^3.1.0"

if we use flatlist inside scrollview with same orientation, previously we use to get error ("VirtualizedLists should never be nested inside plain ScrollViews with the same orientation"), but now after updation app show white screen

CHANDRAMOHANnegi commented 1 year ago

Showing white screen, where previously we use to get warnings. after solving warnings, white screen issue is fixed.

i fixed ("VirtualizedLists should never be nested inside plain ScrollViews with the same orientation") warning in one of screen and white screen issue is fixed

master96 commented 1 year ago

re: Issue i mentioned above without chrome debugger eveyrthing works fine but with chrome debugger app just shows white screen. I can see logs in chrome until navigation and then screen is frozen white.

piaskowyk commented 1 year ago

I have tested it on current main branch and everything seems to work. Did you try to use Flipper instead?

master96 commented 1 year ago

No i have not tested it with flipper. Reason why i was trying to use debugger on chrome is speed. With hermes debugging is really slow and not ideal for speed development. I am using react-native-reanimated-71-hermes.aar and pushing it to our internal artifactory. when i use react-native-reanimated-71-jsc.aar it doesn't work at all both with debugger (JSC) and without debugger (hermes).

reactInstanceManager = ReactInstanceManager.builder().setJavaScriptExecutorFactory(new HermesExecutorFactory()).setApplication(activity.getApplication())
                    .setCurrentActivity(activity).setBundleAssetName("index.android.bundle")
                    .setJSMainModulePath("index.android").addPackages(this.getPackages(_env.getValue()))
                    .setUseDeveloperSupport(BuildConfig.DEBUG).setInitialLifecycleState(LifecycleState.RESUMED).build();

            ActivityLifeCycleHandler activityLifeCycleHandler = new ActivityLifeCycleHandler(activity,
                    MobilitySDKManager.getReactInstanceManager());
            activity.getApplication().registerActivityLifecycleCallbacks(activityLifeCycleHandler);

            reactInstanceManager.createReactContextInBackground();

this is how i initialise react app.

piaskowyk commented 1 year ago

Is it possible for you to try Reanimated 3.x?

CHANDRAMOHANnegi commented 1 year ago

Is it possible for you to try Reanimated 3.x?

3.x is showing error too. https://github.com/software-mansion/react-native-reanimated/issues/4467#issuecomment-1551896998

piaskowyk commented 1 year ago

@CHANDRAMOHANnegi this error should be fixed with https://github.com/software-mansion/react-native-reanimated/pull/4474

master96 commented 1 year ago

Is it possible for you to try Reanimated 3.x?

I tried this today but i am getting lots of error because i need to build aar from source for 3.x that approach opens pandora's box.

CHANDRAMOHANnegi commented 1 year ago

@CHANDRAMOHANnegi this error should be fixed with #4474

this works

piaskowyk commented 1 year ago

@master96 To build Reaniamted you just need to install NDK. What exactly is your problem with the upgrading of Reanimated? Could You send me some logs or something?

master96 commented 1 year ago
> Task :myproject:myapp:react-native-reanimated:configureCMakeRelWithDebInfo[armeabi-v7a] FAILED
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/fabricjni. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/folly_runtime. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/glog. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/hermes_executor. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/jscexecutor. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/jsi. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/jsinspector. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/react_codegen_rncore. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/react_debug. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/react_nativemodule_core. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/react_newarchdefaults. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/react_render_animations. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/react_render_componentregistry. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/react_render_core. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/react_render_debug. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/react_render_graphics. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/react_render_imagemanager. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/react_render_mapbuffer. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/react_render_mounting. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/react_render_scheduler. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/react_render_uimanager. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/reactnativejni. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/rrc_image. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/rrc_view. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/runtimeexecutor. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/turbomodulejsijni. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: prefabcom.google.prefab.api.NoMatchingLibraryException: No compatible library found for //ReactAndroid/yoga. Rejected the following libraries:
C/C++: prefabandroid.arm64-v8a: User is targeting armeabi-v7a but library is for arm64-v8a
C/C++: prefabandroid.armeabi-v7a: User has minSdkVersion 19 but library was built for 21
C/C++: prefabandroid.x86: User is targeting armeabi-v7a but library is for x86
C/C++: prefabandroid.x86_64: User is targeting armeabi-v7a but library is for x86_64
C/C++: release|armeabi-v7a :CMake Error at CMakeLists.txt:47 (find_package):
C/C++: release|armeabi-v7a :  Could not find a package configuration file provided by "ReactAndroid" with
C/C++: release|armeabi-v7a :  any of the following names:
C/C++: release|armeabi-v7a :    ReactAndroidConfig.cmake
C/C++: release|armeabi-v7a :    reactandroid-config.cmake
C/C++: release|armeabi-v7a :  Add the installation prefix of "ReactAndroid" to CMAKE_PREFIX_PATH or set
C/C++: release|armeabi-v7a :  "ReactAndroid_DIR" to a directory containing one of the above files.  If
C/C++: release|armeabi-v7a :  "ReactAndroid" provides a separate development package or SDK, be sure it
C/C++: release|armeabi-v7a :  has been installed.

> Task :myproject:myapp:bundleDependencyReleaseAars FAILED
> Task :myapp:cleanAssembleBuildPublishDependencies FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':myproject:myapp:react-native-reanimated:configureCMakeRelWithDebInfo[armeabi-v7a]'.
> [CXX1405] error when building with cmake using /Users/vajage/Desktop/frontend/app/neo-frontend/node_modules/react-native-reanimated/android/CMakeLists.txt: Build command failed.
  Error while executing process /Users/vajage/Library/Android/sdk/cmake/3.18.1/bin/cmake with arguments {-H/Users/vajage/Desktop/frontend/app/neo-frontend/node_modules/react-native-reanimated/android -DCMAKE_SYSTEM_NAME=Android -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_SYSTEM_VERSION=19 -DANDROID_PLATFORM=android-19 -DANDROID_ABI=armeabi-v7a -DCMAKE_ANDROID_ARCH_ABI=armeabi-v7a -DANDROID_NDK=/Users/vajage/Library/Android/sdk/ndk/21.4.7075529 -DCMAKE_ANDROID_NDK=/Users/vajage/Library/Android/sdk/ndk/21.4.7075529 -DCMAKE_TOOLCHAIN_FILE=/Users/vajage/Library/Android/sdk/ndk/21.4.7075529/build/cmake/android.toolchain.cmake -DCMAKE_MAKE_PROGRAM=/Users/vajage/Library/Android/sdk/cmake/3.18.1/bin/ninja -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/Users/vajage/Desktop/frontend/app/neo-frontend/node_modules/react-native-reanimated/android/build/intermediates/cxx/RelWithDebInfo/6m6d5j41/obj/armeabi-v7a -DCMAKE_RUNTIME_OUTPUT_DIRECTORY=/Users/vajage/Desktop/frontend/app/neo-frontend/node_modules/react-native-reanimated/android/build/intermediates/cxx/RelWithDebInfo/6m6d5j41/obj/armeabi-v7a -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_FIND_ROOT_PATH=/Users/vajage/Desktop/frontend/app/neo-frontend/node_modules/react-native-reanimated/android/.cxx/RelWithDebInfo/6m6d5j41/prefab/armeabi-v7a/prefab -B/Users/vajage/Desktop/frontend/app/neo-frontend/node_modules/react-native-reanimated/android/.cxx/RelWithDebInfo/6m6d5j41/armeabi-v7a -GNinja -DANDROID_STL=c++_shared -DREACT_NATIVE_MINOR_VERSION=71 -DANDROID_TOOLCHAIN=clang -DREACT_NATIVE_DIR=/Users/vajage/Desktop/frontend/app/neo-frontend/node_modules/react-native -DJS_RUNTIME=jsc -DJS_RUNTIME_DIR=/Users/vajage/Desktop/frontend/app/neo-frontend/node_modules/react-native/ReactCommon/jsi -DCLIENT_SIDE_BUILD=true -DIS_NEW_ARCHITECTURE_ENABLED=false -DIS_REANIMATED_EXAMPLE_APP=false -DREANIMATED_PACKAGE_BUILD=null -DREANIMATED_VERSION=3.1.0 -DHERMES_ENABLE_DEBUGGER=0}
  -- Detecting C compiler ABI info
  -- Detecting C compiler ABI info - done
  -- Check for working C compiler: /Users/vajage/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang - skipped
  -- Detecting C compile features
  -- Detecting C compile features - done
  -- Detecting CXX compiler ABI info
  -- Detecting CXX compiler ABI info - done
  -- Check for working CXX compiler: /Users/vajage/Library/Android/sdk/ndk/21.4.7075529/toolchains/llvm/prebuilt/darwin-x86_64/bin/clang++ - skipped
  -- Detecting CXX compile features
  -- Detecting CXX compile features - done
  -- Configuring incomplete, errors occurred!
  See also "/Users/vajage/Desktop/frontend/app/neo-frontend/node_modules/react-native-reanimated/android/.cxx/RelWithDebInfo/6m6d5j41/armeabi-v7a/CMakeFiles/CMakeOutput.log".

  CMake Error at CMakeLists.txt:47 (find_package):
    Could not find a package configuration file provided by "ReactAndroid" with
    any of the following names:

      ReactAndroidConfig.cmake
      reactandroid-config.cmake

    Add the installation prefix of "ReactAndroid" to CMAKE_PREFIX_PATH or set
    "ReactAndroid_DIR" to a directory containing one of the above files.  If
    "ReactAndroid" provides a separate development package or SDK, be sure it
    has been installed.

* 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

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.5.1/userguide/command_line_interface.html#sec:command_line_warnings

@piaskowyk i am getting above error on 3.x reanimated when i am trying to build aar.

implementation("com.facebook.react:react-android:0.71.2") if (JS_RUNTIME == "hermes") { implementation("com.facebook.react:hermes-android:0.71.2") }

I am using above versions.

tomekzaw commented 8 months ago

Closing this issue due to inactivity. Even though Reanimated 3.x supports Chrome Debugger, it is deprecated in React Native 0.73 and will be removed in subsequent releases.