joltup / react-native-threads

Create new JS processes for CPU intensive work
MIT License
756 stars 142 forks source link

Android Release command node node/modules..... #96

Open Dellybro opened 4 years ago

Dellybro commented 4 years ago

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.

AireshBhat commented 4 years ago

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.