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

JavaScript vs Your Expectations

Almost everyone starts learning JavaScript with the wrong expectations. Let's fix them. Download the Codeflare…

1 day ago

Introduction to Phaser JS

Phaser JS is a powerful, open-source HTML5 game development framework used for creating 2D games that…

6 days ago

Web Authentication Libraries

JavaScript / Node.js Authentication Libraries 1. Passport.js One of the most popular authentication middleware libraries…

6 days ago

The Things They Carry: Software Developers Starter Packs

Every profession comes with its own set of tools. A carpenter has a toolbox, a…

6 days ago

CRUD Operations: The Foundation of Data Management

Every application that stores and manages data relies on a set of basic operations known…

2 weeks ago

Common PHP Mistakes Every Developer Should Avoid

PHP remains one of the most widely used server-side programming languages, powering platforms such as…

2 weeks ago