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

codeflare

Latest tech news and coding tips.

Share
Published by
codeflare

Recent Posts

Backpressure in Node.js

Backpressure is a flow-control mechanism that prevents a fast data producer from overwhelming a slower data…

3 weeks ago

JavaScript Collections

JavaScript collections are data structures used to store, organize, retrieve, and manipulate groups of values. Choosing…

3 weeks ago

Context Poisoning Explained

Context poisoning is a technique where an attacker deliberately places misleading, malicious, or irrelevant information into…

3 weeks ago

Common React Errors

React makes building user interfaces easier, but certain errors appear repeatedly, especially when working with…

1 month ago

C Programming Cheat Sheet

The C programming language is a foundational, general-purpose computer programming language created by Dennis Ritchie at Bell Labs in 1972. Originally developed to…

1 month ago

Homebrew Tutorial

What Is Homebrew? Homebrew is a package manager for macOS and Linux that makes it easy to…

1 month ago