abbasfreestyle/react-native-af-video-player

When I run react-native run-android,I got useNewCruncher has been deprecated... error

Opened this issue · 0 comments

Here are some common things to include that can help your issue be diagnosed.

  • react-native-af-video-player version: 0.2.1

  • React Native version: 0.57.8

  • OS: windows 7

  • Code and explanation to replicate this issue:
    When I run react-native run-android, I got the following question:
    Building and installing the app on the device (cd android && gradlew.bat installDebug)...
    useNewCruncher has been deprecated. It will be removed in a future version of the gradle plugin. New cruncher is now always enabled.
    Incremental java compilation is an incubating feature.

FAILURE: Build failed with an exception.

  • Where:
    Build file 'D:\mm\projectName\node_modules\react-native-video\android-exoplayer\build.gradle' line: 20

  • What went wrong:
    A problem occurred evaluating project ':react-native-video'.

Could not find method compileOnly() for arguments [com.facebook.react:react-native:+] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.