react-native-cafe-bazaar icon indicating copy to clipboard operation
react-native-cafe-bazaar copied to clipboard

does not work in react native ver 0.63.2

Open milad-kh opened this issue 5 years ago • 1 comments

Could not resolve project :react-native-cafe-bazaar.

image

milad-kh avatar Sep 04 '20 17:09 milad-kh

Add this line to your settings.gradle project(':react-native-cafe-bazaar').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-cafe-bazaar/android/app')

If you got a problem like this one:

java.lang.RuntimeException: Duplicate class org.intellij.lang.annotations.Identifier

then add this line to app/build.gradle

configurations {
    cleanedAnnotations
        compile.exclude group: 'org.jetbrains' , module:'annotations'
}

Don't forget to clean your build folder

$ cd android && ./gradlew clean && cd .. && npx react-native run-android

Good luck!

2navidmasoudi avatar Oct 05 '20 11:10 2navidmasoudi

This library is not being actively updated. You might want to use the RN library of the cafebazaar itself.

arashmilani avatar Jul 05 '24 07:07 arashmilani