My build fails when attempting to run my react native project in android. The error shows that '2 files found with path lib/x86/libc++_shared.so'. Do you know what may be causing this and how I can possibly fix this issue? I tried removing the file in the .gradle cache directory but this didn't help. I have had a look at the answer from the link More than one file was found with OS independent path 'lib/x86/libusb.so' . However, I am not sure where I remove jniLibs.srcDir 'src/main/libs' code inside sourceSets.main block. Can you please assist? Really new to using android for running react native projects.
Thanks.