skip to Main Content

I’ve configured my office laptop to get the project running. I followed the same approach as another new joiner setup his laptop and his project is working. But mine is not. I used the proper sdk version which is required 31.

Can’t figure out the issue. I tried cleaning up Android Studio with all the sdk stuff and reinstalling it. Still having this issue when trying to Configure project :react-native-reanimated . Any help would be greatly appreciated.

here's the error

sdk manager

sdk tools

EDIT :

I’m using Mac M1 Pro. I thought I don’t need to install rosetta.But after some investigation, found out that I need rosetta. So I installed rosetta and got this working

2

Answers


  1. As you can read in error message:

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

    Fix it upgrading your gradble and checking your project before run.

    Login or Signup to reply.
  2. for react-native-reanimated you need to add
    Add Reanimated’s Babel plugin to your babel.config.js:

    module.exports = {
        presets: [
          ...
        ],
        plugins: [
          ...
          'react-native-reanimated/plugin',
        ],
      };
    

    or you need to follow step from this link
    https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation

    hope it’s working fine

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search