[SOLVED] Build Gradle Error Could not get unknown property 'compile'

Issue

i have react native porject when run android this error showed

Build file ‘C:\dev\icnet_final\android\app\build.gradle’ line: 213

A problem occurred evaluating project ‘:app’.

Could not get unknown property ‘compile’ for configuration container of type org.gradle.api.internal.artifacts.configurations.DefaultConfigurationContainer.

Solution

If this happens after Gradle upgrade, replace compile with implementation

Answered By – Gowtham Gowda

Answer Checked By – Jay B. (BugsFixing Admin)

Leave a Reply

Your email address will not be published.