-
Notifications
You must be signed in to change notification settings - Fork 97
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 build starts failing after updating to RN 0.58 #80
Comments
+1 |
The solution is in README.md. In android {
...
+ packagingOptions {
+ pickFirst '**/libjsc.so'
+ }
} |
@experiment322 thanks for pointing that out. This fixed the build issue. |
Had the same issue in a clean project using react-native 0.58.3 and jsc 236355.1.1, the README suggest to add:
This didn't work for me, but the solution provided by @experiment322 did. |
@rvolution are you sure your app is actually using jsc 236355? I suspect it's not, and you just didn't notice. Do native Proxy objects work? |
@jshearer I don't use proxies directly in my app but i'm using MobX 5 and it's working fine. This is the error that i got when attempting to compile: It was resolved by adding:
It seems that at some moment this was on the readme, but currently it provides a solution for a similar conflict with a different file This should be added to the readme to save others gradle noobs like me of the struggle :) |
I have tried everything above mentioned, but it's still not working for me. |
any updates on this? Thanks. |
I had to use:
if that helps |
This worked for me, thx @nonotest :D |
Worked for me, thanks !!! |
Hi the
However it doesn't seem to work when assembling a test build with:
Anybody here knows the subtleties between assembling a debug build and assembling a test build in gradle? Is there a workaround for this? |
This worked for me Thx!!! |
This worked for me. Thank you so much. |
packagingOptions {
It's worked for me |
This issue is closed but wanted to share what I discovered that you can also use |
@sxqnicholas96 Did you find anything to fix |
This helped me too RN 0.60.5 |
great!!! thanks a lot. it helped me. RN 0.60.5 |
It's worked for me. RN 0.61.2 . |
It's worked for me. RN 0.61.2 . |
add this to app/build.gradle } |
work for me, thanks a lot |
add this to app/build.gradle } worked for me..... Thanks a lot |
I was stuck , Thanks for your help |
It worked for me like this:
then I run npx react-native run-android |
It's worked for me. RN 0.61.2 . |
Issue Description
Followed the instructions at https://github.com/react-native-community/jsc-android-buildscripts#how-to-use-it-with-my-react-native-app and was able to get it to build for RN 0.57. After updating to RN 0.58,
react-native run-android
starts failing with the following errorVersion, config, any additional info
236355.1.1
The text was updated successfully, but these errors were encountered: