litho
litho copied to clipboard
Litho removes all my other native libraries with BUCK
- [x] I have searched existing issues and this is not a duplicate
Version
litho 0.5
Issues and Steps to Reproduce
- Create an simple Android app with buck using some prebuilt_native_library
- Make sure the above reference native libraries only support armeabi-v7a
- Add litho-core and litho-widget as a deps
- In the genrated APK, only libfb.so and libyoga.so is present and they are put in arm64 folder. Somehow it overrides all my previous native libraries.
Expected Behavior
In the generated APK, both existing so files and the new libfb.so and libyoga.so should be present.
Some other things to mention:
- I use exopackage in my app
- NDK should be correctly configured for my buck as $ANDROID_NDK shows /Users/xyz/Library/Android/sdk/ndk-bundle
- In gradle everything works
This might be similar to https://github.com/facebook/litho/issues/96.
After I include Litho in BUCK, it forces my project to be arm64. Weird.
Do you have a sample project or some code that could help reproduce this? I haven't seen this kind of behavior before.
Friendly ping. :)
I was able to fix the issue by setting cpu_filters to my BUCK filter. I think this might be a BUCK issue, not Litho's. :) Feel free to close it.