-
-
Notifications
You must be signed in to change notification settings - Fork 83
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
Execution failed for task ':app:checkReleaseDuplicateClasses' for android #199
Comments
Go into your implementation(project(':react-native-tcp-socket')) {
exclude group: 'org.bouncycastle'
} |
The same issue! @regulad how to do your solution for Expo EAS builds? |
@vr7bd did you solve this issue? |
This can be solved by a custom Expo config plugin. I have done this for my project. I can open source it. |
@ShaneZhengNZ please share it if it is possible |
@siarheipashkevich sure thing. I should have this done in the next a few days. I will pin you when the package is available to use. |
@ShaneZhengNZ thanks! How do you think is it possible to "patch" this package for avoiding this issue using https://www.npmjs.com/package/patch-package? |
I have used yarn patch (similar thing) for patching javascript code or native code before, but never done the build.gradle. -- Edit -- All I have done is implemented the suggested solution from regulad with Expo Config plugin. |
Description
After upgrading to 6.2.0, I'm unable to build my project with this error
I traced it and found out that this occurs if
expo-updates
is installed andreact-native-tcp-socket
is on version6.2.0
. It's because of the commit 054c789 where these dependencies are addedSteps to reproduce
Steps to reproduce the behavior:
npx expo prebuild && npx expo run:android
The text was updated successfully, but these errors were encountered: