question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cesardeazevedocommented, Mar 6, 2017

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 the 0.20.1 version, and for some reason the android studio still getting this reference instead of the node_modules/react-native/android, i am not sure why, but i also had this problem, but take a look at external 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.

0reactions
cesardeazevedocommented, Mar 9, 2017

Yes indeed, i will take a look at the build.gradle in future versions.

Read more comments on GitHub >

github_iconTop Results From Across the Web

error: cannot find symbol Method: parseOverScrollMode ...
I got this problem. And it seems that React Native dependencies downloaded by Gradle doesn't have mentioned method: ...
Read more >
Error: cannot find symbol of Parser - java - Stack Overflow
So, you need to create the object of the class Parser and invoke the method parseProgramFile (Option 1) or you can change parseProgramFile ......
Read more >
How to Resolve The Cannot Find Symbol Error in Java - Rollbar
The cannot find symbol error refers to a situation where the Java compiler is unable to find the symbol associated with a given...
Read more >
Fixing cannot find symbol in Java - YouTube
Common fixes for cannot find symbol in Java. This typically means a misspelling, variable or method that does not exist, or variable that...
Read more >
Error cannot find symbol in java solved - YouTube
How to fix error cannot find symbol in java is shown.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found