react-native run-android : Failed to notify project evaluation listener

FAILURE: Build failed with an exception.

  • What went wrong:
    A problem occurred configuring project ':app'.

Failed to notify project evaluation listener.
com.android.build.gradle.tasks.factory.AndroidJavaCompile.setDependencyCacheDir(Ljava/io/File;)V

Open your app via Android Studio, you will get more info to resolve the issue.
gradle-sync-issues
The versions of the Android Gradle plugin and Gradle are not compatible.
Please do one of the following:

  • Update your plugin to version 2.4.
  • Downgrade Gradle to version 3.5.

Subscribe to Post, Code and Quiet Time.

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
jamie@example.com
Subscribe