Categories: softare development

Configuration with name ‘compile’ not found React Native

Sometimes you get this error when you are trying to run your React Native project.

To solve it, navigate to your android folder and add the below code to your build.gradle file

subprojects { subproject ->
        if(project['name'] == 'react-native-reanimated'){    
            project.configurations { compile { } }
        }
}

You’re good to go!

Get Free React Native Templates

Recent Posts

The SOC Analyst

A SOC Analyst (Security Operations Center Analyst) is one of the frontline defenders of an organization’s cybersecurity…

4 days ago

Building an Offline-Friendly Image Upload System

Most image upload systems assume one thing: the user has a stable internet connection. That assumption…

1 week ago

JavaScript Background Sync API

Imagine a user submits a form while their internet connection suddenly disappears. Normally, the request…

2 weeks ago

10 Signs Your PC Has Been Hacked

Cybercriminals don't always announce their presence. Many compromises are designed to remain unnoticed for weeks…

3 weeks ago

What Killed jQuery?

For years, jQuery was everywhere. If you were building websites in the 2010s, there was a…

3 weeks ago

How to Resolve Git Merge Conflicts

Few things halt a developer’s flow faster than seeing the dreaded word: CONFLICT. A Git merge…

3 weeks ago