-
-
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
Error com.horcrux.svg does not exist on Windows/Android #211
Comments
I found the problem, the installer was not adding the depedence in build.gradle, to fix the problem I added the compile code inside dependences{}, I also excluded the appcompat-v7 to avoid conflicts:
|
I am getting this same issue on mac OS after upgrading from RN 0.39.2 -> 0.40.0. I have cleared out the cache with gradle as suggested in other issue trackers but no luck.
|
@joncursi try: import com.horcrux.svg.SvgPackage; and
|
The package name in android has been changed in 4.6.0, sorry about that |
thanks @seacloud9 ! |
@mihaben 's solution worked for me, |
change package name works for me , thx @seacloud9 ! |
I believe the name may have changed again. To make this compile I needed to import And then make the corresponding change in the package list
|
Hello, I also found the same error like this.
So I renamed several lines at the code. At first it looked like
and I changed them into
After that I could run |
This error is still coming to me. I have tried a lot. Someone help me please Why? package com.horcrux.svg does not exist. |
@xTMNTxRaphaelx Just do this: dependencies { |
@xTMNTxRaphaelx Have you found solution for this ? |
please follow this: |
but ,I still have the same problem. |
check duplication of package import also face same error but on debug got import com.horcrux.svg.SvgPackage; twise |
If you're using expo, try |
Hi,
I'm trying to install the react-native-svg package but I have not been able to do it yet.
I followed the instructions in the Readme (npm install and link code), but I have the following error when I execute
react-native run-android
I´m developing with Windows 10.
and...
Thank you for your help!
Edit:
Same problem with
The text was updated successfully, but these errors were encountered: