Thidasa Pankaja
Thidasa Pankaja

Reputation: 1080

react-native android build fails with execution failed for task ':app:processDebugResources'. , but iOS works

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

Upvotes: 2

Views: 569

Answers (2)

Mahammad Momin
Mahammad Momin

Reputation: 493

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

Upvotes: 0

0xUrbz
0xUrbz

Reputation: 16

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.

Upvotes: 0

Related Questions