react-native-material-design icon indicating copy to clipboard operation
react-native-material-design copied to clipboard

demo app: MainActivity.java:32: error: constructor StatusBarPackage in class StatusBarPackage cannot be applied to given types

Open wordyallen opened this issue 8 years ago • 2 comments

Hello, I'm getting the following error, when I run the demo app. I tested on ubuntu and and mac. Thanks for any help!

wordyallen avatar Sep 01 '16 21:09 wordyallen

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

CharlesJQuarra avatar Sep 02 '16 01:09 CharlesJQuarra

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

wordyallen avatar Sep 02 '16 16:09 wordyallen