wcandillon / react-native-expo-image-cache

React Native Image Cache and Progressive Loading based on Expo
MIT License
668 stars 125 forks source link

Task :react-native-media-kit:compileDebugJavaWithJavac FAILED #154

Open kanwar002 opened 3 years ago

kanwar002 commented 3 years ago

Environment

Environment

Task :react-native-media-kit:compileDebugJavaWithJavac FAILED

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/6.5/userguide/command_line_interface.html#sec:command_line_warnings 92 actionable tasks: 2 executed, 90 up-to-date warning: [options] source value 7 is obsolete and will be removed in a future release warning: [options] target value 7 is obsolete and will be removed in a future release warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. C:\Users\DAWOR\VIRIDE\node_modules\react-native-media-kit\android\src\main\java\com\greatdroid\reactnative\media\MediaKitPackage.java:22: error: method does not override or implement a method from a supertype @Override ^ C:\Users\DAWOR\VIRIDE\node_modules\react-native-media-kit\android\src\main\java\com\greatdroid\reactnative\media\player\ReactMediaPlayerViewManager.java:95: error: no suitable constructor found for Event(int,long) .dispatchEvent(new Event(view.getId(), SystemClock.uptimeMillis()) { ^ constructor Event.Event() is not applicable (actual and formal argument lists differ in length) constructor Event.Event(int) is not applicable (actual and formal argument lists differ in length) C:\Users\DAWOR\VIRIDE\node_modules\react-native-media-kit\android\src\main\java\com\greatdroid\reactnative\media\player\ReactMediaPlayerViewManager.java:111: error: no suitable constructor found for Event(int,long) .dispatchEvent(new Event(view.getId(), SystemClock.uptimeMillis()) { ^ constructor Event.Event() is not applicable (actual and formal argument lists differ in length) constructor Event.Event(int) is not applicable (actual and formal argument lists differ in length) C:\Users\DAWOR\VIRIDE\node_modules\react-native-media-kit\android\src\main\java\com\greatdroid\reactnative\media\player\ReactMediaPlayerViewManager.java:127: error: no suitable constructor found for Event(int,long) .dispatchEvent(new Event(view.getId(), SystemClock.uptimeMillis()) { ^ constructor Event.Event() is not applicable (actual and formal argument lists differ in length) constructor Event.Event(int) is not applicable (actual and formal argument lists differ in length) C:\Users\DAWOR\VIRIDE\node_modules\react-native-media-kit\android\src\main\java\com\greatdroid\reactnative\media\player\ReactMediaPlayerViewManager.java:143: error: no suitable constructor found for Event(int,long) .dispatchEvent(new Event(view.getId(), SystemClock.uptimeMillis()) { ^ constructor Event.Event() is not applicable (actual and formal argument lists differ in length) constructor Event.Event(int) is not applicable (actual and formal argument lists differ in length) C:\Users\DAWOR\VIRIDE\node_modules\react-native-media-kit\android\src\main\java\com\greatdroid\reactnative\media\player\ReactMediaPlayerViewManager.java:159: error: no suitable constructor found for Event(int,long) .dispatchEvent(new Event(view.getId(), SystemClock.uptimeMillis()) { ^ constructor Event.Event() is not applicable (actual and formal argument lists differ in length) constructor Event.Event(int) is not applicable (actual and formal argument lists differ in length) C:\Users\DAWOR\VIRIDE\node_modules\react-native-media-kit\android\src\main\java\com\greatdroid\reactnative\media\player\ReactMediaPlayerViewManager.java:175: error: no suitable constructor found for Event(int,long) .dispatchEvent(new Event(view.getId(), SystemClock.uptimeMillis()) { ^ constructor Event.Event() is not applicable (actual and formal argument lists differ in length) constructor Event.Event(int) is not applicable (actual and formal argument lists differ in length) C:\Users\DAWOR\VIRIDE\node_modules\react-native-media-kit\android\src\main\java\com\greatdroid\reactnative\media\player\ReactMediaPlayerViewManager.java:193: error: no suitable constructor found for Event(int,long) .dispatchEvent(new Event(view.getId(), SystemClock.uptimeMillis()) { ^ constructor Event.Event() is not applicable (actual and formal argument lists differ in length) constructor Event.Event(int) is not applicable (actual and formal argument lists differ in length) Note: C:\Users\DAWOR\VIRIDE\node_modules\react-native-media-kit\android\src\main\java\com\greatdroid\reactnative\media\player\ReactMediaPlayerViewManager.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. 8 errors 3 warnings

FAILURE: Build failed with an exception.

BUILD FAILED in 20s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details. Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081 warning: [options] source value 7 is obsolete and will be removed in a future release```

Is there a issue with that package? or it's not supported by my current react native vaersion?