You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed a package react-native-media-kit after installing that package my app is not running. It's showing error
WARNING: Configuration 'compile' is obsolete and has been replaced with 'implementation' and 'api'.
It will be removed soon. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: Configuration 'testCompile' is obsolete and has been replaced with 'testImplementation'.
It will be removed soon. For more information see: http://d.android.com/r/tools/update-dependency-configurations.html
WARNING: The specified Android SDK Build Tools version (23.0.2) is ignored, as it is below the minimum supported version (28.0.3) for Android Gradle Plugin 3.5.3.
Android SDK Build Tools 28.0.3 will be used.
To suppress this warning, remove "buildToolsVersion '23.0.2'" from your build.gradle file, as each version of the Android Gradle Plugin now has a
default version of the build tools.
> 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.
* What went wrong:
Execution failed for task ':react-native-media-kit:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
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?
The text was updated successfully, but these errors were encountered:
Environment
Environment
**Packages: **
Description
I installed a package
react-native-media-kit
after installing that package my app is not running. It's showing errorThe text was updated successfully, but these errors were encountered: