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

Must-Know Angular Concepts

Angular is a full-featured frontend framework built by Google for creating large, maintainable, and high-performance web applications.…

1 day ago

Responsive Web Design (RWD)

What Is Responsive Web Design? Responsive Web Design (RWD) is an approach to building websites…

2 days ago

Geolocation API in JavaScript

The Geolocation API allows a web application to access a user’s geographical location (latitude, longitude, and more), with…

1 week ago

The Golden Ratio (φ)

1. What Is the Golden Ratio? The Golden Ratio, represented by the Greek letter φ (phi), is…

2 weeks ago

CSS Combinators

In CSS, combinators define relationships between selectors. Instead of selecting elements individually, combinators allow you to target elements based…

2 weeks ago

Boolean Algebra

Below is a comprehensive, beginner-friendly, yet deeply detailed guide to Boolean Algebra, complete with definitions, laws,…

3 weeks ago