WatermelonDB icon indicating copy to clipboard operation
WatermelonDB copied to clipboard

2 files found with path 'lib/arm64-v8a/libssl.so' from inputs

Open 17Amir17 opened this issue 1 year ago • 0 comments

On RN 0.72.3+ Getting this error, this does not happen on my prev RN version of 0.71

Screenshot 2023-09-21 at 11 44 04

Was able to fix this by adding in app/build.grade

android {
    .........
    packagingOptions {
        pickFirst 'lib/x86/libssl.so'
        pickFirst 'lib/x86_64/libssl.so'
        pickFirst 'lib/armeabi-v7a/libssl.so'
        pickFirst 'lib/arm64-v8a/libssl.so'
   }
}

Is this the recommended fix?

17Amir17 avatar Sep 21 '23 08:09 17Amir17