react-native-quick-crypto
react-native-quick-crypto copied to clipboard
Android build issue with RN 0.72.3
Hello, I have some problems compiling android with RN 0.72.3 and expo 49.0.3.
Does anyone have the same error? Maybe it is related to upgrade to gradle 8?
I think I am having the same issue
I have the same issue and there was no problem a month ago. Whether it is related to the expo or RN framework version
I tried using Expo ~48.0.18 and React Native 0.71.8, and now it works fine.
I tried using Expo ~48.0.18 and React Native 0.71.8, and now it works fine.
Yes it's related to expo 49 and react native 0.72.3
same here
same here(
I found a solution, inside android/app/build.gradle
just add this:
android {
...
packagingOptions {
pickFirst 'lib/x86/libcrypto.so'
pickFirst 'lib/x86_64/libcrypto.so'
pickFirst 'lib/armeabi-v7a/libcrypto.so'
pickFirst 'lib/arm64-v8a/libcrypto.so'
}
}
Give it a try
I found a solution, inside
android/app/build.gradle
just add this:android { ... packagingOptions { pickFirst 'lib/x86/libcrypto.so' pickFirst 'lib/x86_64/libcrypto.so' pickFirst 'lib/armeabi-v7a/libcrypto.so' pickFirst 'lib/arm64-v8a/libcrypto.so' } }
Give it a try
I think you need to add this into documentation, your solution is work for me, thanks
I found a solution, inside
android/app/build.gradle
just add this:android { ... packagingOptions { pickFirst 'lib/x86/libcrypto.so' pickFirst 'lib/x86_64/libcrypto.so' pickFirst 'lib/armeabi-v7a/libcrypto.so' pickFirst 'lib/arm64-v8a/libcrypto.so' } }
Give it a try
I think you need to add this into documentation, your solution is work for me, thanks
I'll open a PR
it seems like you found a solution, thanks for reporting this issue :)
@Montchy I believe the issues they are facing are legit, and we actually need to fix the library code.
I will reopen this issue for further investigation.
Could you @DavideSegullo please provide a minimal reproduction? That would help with fixing this issue as fast as possible 😊
@Montchy I believe the issues they are facing are legit, and we actually need to fix the library code. I will reopen this issue for further investigation.
Could you @DavideSegullo please provide a minimal reproduction? That would help with fixing this issue as fast as possible 😊
Hi @hannojg thank you for your reply, you can find it here.
Just run:
pnpm android
@DavideSegullo, yeah sorry my mistake, thanks for noticing :)
The example app is working fine at RN 0.72.7
. If 0.7.0-rc.X
release candidates of this library do not solve this problem, please reopen this issue.