react-native-threads icon indicating copy to clipboard operation
react-native-threads copied to clipboard

Android Release command node node/modules.....

Open Dellybro opened this issue 5 years ago • 1 comments

After running the android release command my project gets a folder called "Raw" what is the purpose of this folder?

I end up not being able to run my program because i get duplicate architecture errors. When i remove the folder, the threads don't work as expected.

Thanks in advance.

Dellybro avatar Jan 21 '20 01:01 Dellybro

Running into the same issue. Any leads on how you fixed it would be helpful. Thanks

Edit: I had a library that was being referenced both in the thread file and the normal app code. Creating bundles for each caused the library to be bundled twice. So moved all functions related to that library into the thread implementation and then it finally worked.

In short: If you are using a library in thread, don't use it in the app code anywhere and vice versa.

AireshBhat avatar Oct 21 '20 08:10 AireshBhat