Kishanjvaghela / react-native-cardview

Native CardView for react-native (All Android version and iOS)
https://www.npmjs.com/package/react-native-cardview
MIT License
510 stars 82 forks source link

Automatic installation failing #11

Closed Noitidart closed 7 years ago

Noitidart commented 7 years ago

Doing automatic installation is not working. After doing react-native link I am getting this error:

C:\Users\Mercurius\Documents\GitHub\bouncerapp_android\android\app\src\main\java\com\bouncerapp\MainApplication.j
ava:27: error: cannot find symbol
            new RNCardViewPackage()
                ^
  symbol: class RNCardViewPackage
2 errors
Noitidart commented 7 years ago

I had to go into C:\Users\Mercurius\Documents\GitHub\bouncerapp_android\android\app\build.gradle and add:

compile project(':react-native-cardview')

into the dependencies block, as mentioned in the manual installation instructions.

Weird I don't know why automatic didn't take care of this.

Kishanjvaghela commented 7 years ago

@Noitidart I have tested and it works. There are no updates for a long time so I am closing issue. If it occurs again, then please reopen with a detailed test case.

Noitidart commented 7 years ago

Understood, thank you sir!