error: cannot find symbol
See original GitHub issueimport com.facebook.react.bridge.ColorPropConverter;
^
symbol: class ColorPropConverter
location: package com.facebook.react.bridge
OS: macOS 12.3 CPU: (12) x64 Intel® Core™ i7-9750H CPU @ 2.60GHz Memory: 41.12 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 17.2.0 - /usr/local/bin/node Yarn: 1.22.18 - ~/.yarn/bin/yarn npm: 8.1.4 - /usr/local/bin/npm Watchman: 2021.12.13.00 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3 IDEs: Android Studio: 2021.1 AI-211.7628.21.2111.8193401 Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild npmPackages: react: 16.9.0 => 16.9.0 react-native: 0.61.4 => 0.61.4 npmGlobalPackages: react-native-cli: 2.0.1
Issue Analytics
- State:
- Created a year ago
- Comments:8
Top Results From Across the Web
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 >java - What does a "Cannot find symbol" or "Cannot resolve ...
A "Cannot find symbol" error means that the compiler cannot do this. Your code appears to be referring to something that the compiler...
Read more >The "Cannot find symbol" Compilation Error - Baeldung
When our code compiles, the compiler needs to verify all the identifiers we have. The error “cannot find symbol” means we're referring to ......
Read more >What can cause the "cannot find symbol" error in Java?
The “cannot find symbol” error occurs mainly when we try to reference a variable that is not declared in the program which we...
Read more >What Causes “Cannot find symbol” Compilation Error in Java?
As the name suggests, the Java cannot find symbol error occurs when a required symbol cannot be found in the symbol table. Although...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
follow up
The issue seems to come with the latest version of react-native-svg 12.3.0, this change: #1705.
As it seems the missing class
ColorPropConverter
comes with ReactNative 0.63. So, from 12.3.0 on react-native-svg requires RN 0.63 or newer. I was able to fix it for me by downgrading to 12.2.0.I think this new requirement should be added to the release notes and adjusted in
package.json
.