Android build failing when both Instabug and Appsflyer are installed

I am in using the expo-dev-client workflow (managed).

My eas-cli version is 2.1.0

The error I get is during building an Android distribution or production build. Here is the error message straight from EAS:

I have tried building this locally with expo run:android and I get the same error. Seems like it is because both AppsFlyer and Instabug are installed. Has anyone faced similar issues? How do I solve this?