Detail:
- "react-native": "0.59.0"
- "react-native-navigation": "^2.13.1"
I already followed the installation instructions on here. But when I do command line npm run android
or react-native run-android
I got errors like this
Task :react-native-navigation:compileReactNative57_5DebugJavaWithJavac /Users/vive/Documents/Projects/RNPlayground/node_modules/react-native-navigation/lib/android/app/src/main/java/com/reactnativenavigation/ views/element/Element.java:17: error: ReactViewBackgroundDrawable is not public in com.facebook.react.views.view; cannot be accessed from out side package import com.facebook.react.views.view.ReactViewBackgroundDrawable;
How to solve this issue? Anyone have any idea? Thank you.
ISSUE SOLVED : Just realize that I missed something in the installing step. Got hint from here