clipboard icon indicating copy to clipboard operation
clipboard copied to clipboard

Build failing in react naitve 0.68

Open Snehasish7080 opened this issue 1 year ago • 6 comments

android/app/build/generated/rncli/src/main/java/com/facebook/react/PackageList.java:19: error: package undefined does not exist import undefined.ClipboardPackage;

this is the error I am getting in react native 0.68 for android.

Snehasish7080 avatar Nov 15 '24 09:11 Snehasish7080

i am facing this same error. Any solutions??

umairkhan24 avatar Nov 17 '24 09:11 umairkhan24

I have the same problems too, idk how to fix it

HuseinHQ avatar Nov 18 '24 07:11 HuseinHQ

downgrade version from 1.15.0 to 1.7.0 work from me

agung83 avatar Nov 18 '24 09:11 agung83

Go to: node_modules › @react-native-clipboard › clipboard › android › src › main › AndroidManifest.xml And add package="com.reactnativecommunity.clipboard" like this: Screenshot 2024-11-19 at 11 39 22

thuytony avatar Nov 19 '24 04:11 thuytony

Go to: node_modules › @react-native-clipboard › clipboard › android › src › main › AndroidManifest.xml And add package="com.reactnativecommunity.clipboard" like this: Screenshot 2024-11-19 at 11 39 22

this is work for me using react native 0.68.6, thanks

sendyputra avatar Dec 21 '24 09:12 sendyputra

Go to: node_modules › @react-native-clipboard › clipboard › android › src › main › AndroidManifest.xml And add package="com.reactnativecommunity.clipboard" like this: Screenshot 2024-11-19 at 11 39 22

Buddy, you saved my ass

ITC-Jason avatar Feb 13 '25 08:02 ITC-Jason