-
-
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
Android - Bundle release error #1340
Comments
Apparently I got it working by following recommendations on the
I've deleted Any thoughts on this? |
Interesting, haven't seen that happen, have you tried closing the project / android studio and removing your android project .iml files and then restarting android studio > resync gradle > rebuild? Could you make a reproduction in a git repo? |
Hey @msand, thanks for the quick reply. Yeah, I've tried that.
Actually, my I'll try to make a repro this weekend if I have time, but I don't really think it'll happen on a clean new project. |
i had the same exact issue, i'm not sure of the cause but here what worked with me.
i unliked everyone of them, deleted the node_modules and ran |
Hey @msand, I'm kind of getting back to this.. I suspect there is a library that I use that is also using E.g:
|
hello I am facing the Exact same issue |
@visheshtungarev In my case, I had to exclude I solved it by adding
But I think the group path may change, this module was compiled as an external sdk. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. You may also mark this issue as a "discussion" and I will leave this open. |
@thiagobrez did your app work fine with this library if it was built as a Release APK instead of a Release AAB? After installing this library, my Release AAB builds fine but freezes after the splash screen, yet my Release APK runs fine. Trying to narrow down whether this is the same issue you faced. Any insights appreciated. |
@chrislarson We're in the same page, AAB still freezing after splash screen for me. I'm afraid I got no other info for you 😕 |
search
then replace your build.gradle which contains
with
|
…m.horcrux.svg.Brush$BrushType` ,参见 software-mansion/react-native-svg#1340
Is it still an issue? Also, it does not look like a bug in the library but rather a misconfiguration of the project. I will close this issue then. Feel free to comment here if something is wrong and we can always reopen it then. |
Hello all, and forgive me if this isn't the right place to ask, I've already asked on stack overflow with no response.
For some days now I've been stuck when trying to
bundleRelease
my React Native Android app usingreact-native-svg
.Error
I'm aware that this probably isn't a bug within
react-native-svg
but I came to ask for help if anyone has ever gone through this.Apparently there's 2 or more dependencies trying to use
BrushType
and it throws this error.gradlew app:dependencies
and can't find any library referencingBrush
,com.horcrux.svg
orreact-native-svg
.build.gradle
andgradle.properties
with no luckI imagine that once I find the libraries using
BrushType
, I could do something likeCorrect?
I can't remember 100%, but somehow I got to suspect that this may be an issue with installing both
react-native-svg
andreact-native-masked-view
. Has anyone ever seen this?Please consider that I only have basic understanding of Android development.
Thanks in advance.
The text was updated successfully, but these errors were encountered: