I am trying to implement image filters with react-native-image-filter-kit. I follow the implementation steps for with react-native >=0.64.0 from here .
I use EAS build. When i try to build a new apk i get the error below:
/home/expo/Android/Sdk/build-tools/29.0.2/llvm-rs-cc: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
In the answer here i see that i need to do the following:
or 32-bit binaries : sudo apt-get install libncurses5:i386
for 64-bit binaries : sudo apt-get install libncurses5
Also install the collection of libraries by using this command,
sudo apt-get install ia32-libs
How can i do that with a managed EAS flow?
EAS incudes scope to run script which will pre-install items that are needed for the build to complete.
So for Expo you do that by adding the 'eas-build...' line to your package.json file
You then add the following code in the root of the project in a file called 'pre-install':
And that's it, the project should be buildable on Android again.