Cannot find symbol parseOverScrollMode
See original GitHub issue/Users/doko/Documents/ReactNative/Zoti/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ReactNestedScrollViewManager.java:118: error: cannot find symbol view.setOverScrollMode(ReactScrollViewHelper.parseOverScrollMode(value)); ^ symbol: method parseOverScrollMode(String) location: class ReactScrollViewHelper Note: /Users/doko/Documents/ReactNative/Zoti/node_modules/react-native-bottom-sheet-behavior/android/src/main/java/com/bottomsheetbehavior/ResourceDrawableIdHelper.java uses or overrides a deprecated API. Note: Recompile with -Xlint:deprecation for details. Note: Some input files use unchecked or unsafe operations.
Didn’t have same issues with another libraries. I think the problem lies within Support Library v24 but I cannot downgrade it (to v23, same as currently shipped with React Native Android) because BottomSheet is only available on v24 and up.
Any workarounds?
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
I am not sure whether it is your case, but did you mentioned
0.20.1
, so are you trying to run through android studio right? it seems that your android studio is getting a very old version from react-native since they stop updates on the jcenter in favor of a local repository, which they stuck at the0.20.1
version, and for some reason the android studio still getting this reference instead of thenode_modules/react-native/android
, i am not sure why, but i also had this problem, but take a look atexternal library
on android studio and see which version is showing, and try to clean the project and refresh the gradle dependencies.My example is fully working with react-native 0.42.0, but i didn’t tested with android studio though.
Did you tried running with
react-native run-android
directly? I hope it helps, tell me if you got it.Yes indeed, i will take a look at the build.gradle in future versions.