prscX / react-native-bottom-action-sheet

React Native: Native Bottom Action Sheet
Apache License 2.0
634 stars 48 forks source link

Android can't open sheet #16

Closed topzerzar closed 4 years ago

topzerzar commented 6 years ago

Error Android only.

in build.gradle

allprojects {
    repositories {
        mavenLocal()
        jcenter()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
        maven {
            url 'https://maven.google.com/'
            name 'Google'
        }
        maven { url 'https://jitpack.io' }
    }
}

screenshot_20180508-005952_gschool_react

prscX commented 6 years ago

Thanks @topzerzar for raising the issue. Looks like the library is not linked properly. Can you please run below command:

react-native link react-native-bottom-action-sheet

Please let me know in case you still face the same issue.

Thanks </ Pranav >

topzerzar commented 6 years ago

I have follow you step but still fail like a photo above.

progfiles commented 6 years ago

Same thing. "error: cannot find symbol new RNBottomActionSheetPackage(),"

progfiles commented 6 years ago

I think because did not link "react-native link react-native-vector-icons"

arma7x commented 5 years ago

https://github.com/prscX/react-native-bottom-action-sheet/issues/24#issuecomment-445817864

prscX commented 4 years ago

Thanks @arma7x for sharing the solution. Hope the issue was fixed. Closing the issue.

Thanks </ Pranav >