Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: cannot find symbol #1732

Closed
trinadhkoya opened this issue Mar 28, 2022 · 16 comments
Closed

error: cannot find symbol #1732

trinadhkoya opened this issue Mar 28, 2022 · 16 comments
Labels
Close when stale This issue is going to be closed when there is no activity for a while Missing repro This issue need minimum repro scenario

Comments

@trinadhkoya
Copy link

import com.facebook.react.bridge.ColorPropConverter;
                                ^
  symbol:   class ColorPropConverter
  location: package com.facebook.react.bridge

OS: macOS 12.3
CPU: (12) x64 Intel(R) Core(TM) 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

@lylysunshinee
Copy link

follow up

@njacob1001
Copy link

same issue here

@vadherjitu
Copy link

same isssue bro

@nivetha12101997
Copy link

Same issue

@vanso-hubsi
Copy link

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.

@lylysunshinee
Copy link

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.
Thank you so much @vanso-hubsi
downgrading to 12.2.0 -> "react-native-svg": "12.2.0",
everything "Work like a charm" 💯

@thatCbin
Copy link

这个问题似乎与最新版本的react-native-svg 12.3.0有关,此更改:#1705

因为似乎缺少的类带有ReactNative 0.63。因此,从 12.3.0 开始,react-native-svg 需要 RN 0.63 或更高版本。我能够通过降级到12.2.0来为我修复它。ColorPropConverter

我认为这个新要求应该添加到发行说明中,并在 中进行调整。package.json

同样的兄弟, 0.59 版本

@cnhuz
Copy link

cnhuz commented May 17, 2022

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.

It is working, I also downgrading [email protected] back to [email protected]

@RaviKiranMakala
Copy link

Did any one found solution?

@minhdangoz
Copy link

yarn add [email protected]
solve my problem

@aryalsujay
Copy link

Neither react-native-svg 12.2.0/12.1.0 is working...
Anyone find the solution, pls share
Thanks

@paladhamma
Copy link

This is a major issue, please look into it.
Please share if you find the solution to this.

@bohdanprog
Copy link
Member

Hello @trinadhkoya,
Do you still have that issue?
If you still have that issue, please provide a simple example to reproduce that.
Thank you.

@bohdanprog bohdanprog added Missing repro This issue need minimum repro scenario Close when stale This issue is going to be closed when there is no activity for a while labels Jun 18, 2024
@aryalsujay
Copy link

The issue is still there.

@bohdanprog
Copy link
Member

@aryalsujay Could you provide an example of how we can reproduce that?
Thank you.

@aryalsujay
Copy link

Same as how @trinadhkoya has commented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Close when stale This issue is going to be closed when there is no activity for a while Missing repro This issue need minimum repro scenario
Projects
None yet
Development

No branches or pull requests