react-native-material-design
react-native-material-design copied to clipboard
demo app: MainActivity.java:32: error: constructor StatusBarPackage in class StatusBarPackage cannot be applied to given types
Hello, I'm getting the following error, when I run the demo app. I tested on ubuntu and and mac. Thanks for any help!
npm install
works correctly for you? I'm getting an error about mismatch of react-native version among dependencies https://github.com/react-native-material-design/react-native-material-design/issues/118
I changed the following in MainActivity.java by removing the this
keyword.
.addPackage(new StatusBarPackage())
However, now I'm getting the following when I start it:
Error: Naming collision detected: /demo-app/node_modules/react/node_modules/fbjs/lib/warning.js collides with /demo-app/node_modules/react-native/node_modules/fbjs/lib/warning.js