Return Value Convention
BeautyEffectEngine::Create() returns nullptr on failure.
Common Errors and Fixes
1. Engine Creation Fails (Create Returns nullptr)
The causes and fixes are the same as on Windows. Start by enabling logging:
app_id / app_key, wrong resource.fbd path, no network access.
2. libfacebetter.so Not Found at Runtime
Error message:
3. ProcessImage Returns nullptr
4. Beauty Effects Have No Visible Impact
Make sure eachBeautyType is enabled and the parameter value is greater than 0:

