Open RameshKrish29 opened 5 days ago
ClipboardModule is not abstract and does not override abstract method removeListeners(double) in NativeClipboardModuleSpec public class ClipboardModule extends NativeClipboardModuleSpec { ^ D:\Projects\SampleProjects\RN0_75_3\node_modules@react-native-clipboard\clipboard\android\src\main\java\com\reactnativecommunity\clipboard\ClipboardModule.java:240: error: method does not override or implement a method from a supertype
This is the same error I'm getting on RN 0.75.3
This seems to fix it
Thanks @jorgegvallejo Its working for me, can we resolve it without patch. Is there any other fixes.
Same here. Any prevision to fix by patch?
Environment
System: OS: Windows 11 10.0.22631 CPU: "(4) x64 AMD Ryzen 3 3250U with Radeon Graphics " Memory: 606.93 MB / 5.89 GB Binaries: Node: version: 21.6.2 path: C:\Program Files\nodejs\node.EXE Yarn: Not Found npm: version: 10.2.4 path: C:\Program Files\nodejs\npm.CMD Watchman: Not Found SDKs: Android SDK: API Levels:
Platforms
Android
Description
Task :react-native-clipboard_clipboard:processDebugManifest package="com.reactnativecommunity.clipboard" found in source AndroidManifest.xml: D:\Projects\SampleProjects\RN0_75_3\node_modules\@react-native-clipboard\clipboard\android\src\main\AndroidManifest.xml. Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported, and the value is ignored. Recommendation: remove package="com.reactnativecommunity.clipboard" from the source AndroidManifest.xml: D:\Projects\SampleProjects\RN0_75_3\node_modules\@react-native-clipboard\clipboard\android\src\main\AndroidManifest.xml.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation. 45 actionable tasks: 35 executed, 10 up-to-date
info 💡 Tip: Make sure that you have set up your development environment correctly, by running npx react-native doctor. To read more about doctor command visit: https://github.com/react-native-community/cli/blob/main/packages/cli-doctor/README.md#doctor
D:\Projects\SampleProjects\RN0_75_3\node_modules\@react-native-clipboard\clipboard\android\src\main\java\com\reactnativecommunity\clipboard\ClipboardModule.java:39: error: ClipboardModule is not abstract and does not override abstract method removeListeners(double) in NativeClipboardModuleSpec public class ClipboardModule extends NativeClipboardModuleSpec { ^ D:\Projects\SampleProjects\RN0_75_3\node_modules\@react-native-clipboard\clipboard\android\src\main\java\com\reactnativecommunity\clipboard\ClipboardModule.java:240: error: method does not override or implement a method from a supertype @Override ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: D:\Projects\SampleProjects\RN0_75_3\node_modules\@react-native-clipboard\clipboard\android\src\main\java\com\reactnativecommunity\clipboard\ClipboardPackage.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 2 errors
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':react-native-clipboard_clipboard:compileDebugJavaWithJavac'.
Try:
BUILD FAILED in 27s error Failed to install the app. Command failed with exit code 1: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081