-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
No ViewManager defined for RNSVG on Android #276
Comments
Had the same issue. Was missing the compile line in build.grade after the react-native link. After I added that, used android-studio to rebuild. |
Hi I checked the build.gradel but everything seems to be fine still having this issue. how about you @Jperrin42 ? |
i have the same issue |
my problem is solved,i solve the android studio problem as |
@lakeoffaith disabling instant run not work for me. "react-native-svg": "^5.1.8", |
I found solution for me. I use wix (Navigation https://wix.github.io/react-native-navigation) on my project. It's linking different. If you are using wix nav., look this => wix/react-native-navigation#1245 |
It doesn't work for me even instant run is disabled |
The following steps solved the issue for me:
|
Closing this. |
Hello,
before i explain i have to say that i already tried #135
So, i installed RNSVG, linked using react-native link react-native-svg.
Then i checked my MainApplication.java and tried to include import com.horcrux.svg.SvgPackage (already done by the link) and import com.horcrux.svg.RNSvgPackage; (for version < 5.1.5 but still tried) and add them to the getPackage method (both and one by one).
I checked about the manual installation and everything seems to be done properly.
But i still have the issue and i don't know what to do next since it seems to have solved the problem for other people.
am I missing something ?
Thanks in advance.
The text was updated successfully, but these errors were encountered: