I've been stuck on this problem for about 3 days, tried almost everything. What I learn't through this process is that AndroidX support in lottie-react-native came after version 3. The Expo cli doesn't allow to run the app with the latest version of lottie. It restricts me to version 2.6.1 which is why my app crashes on expo android client, while it works for ios.
Is there anyway I could get through this problem without migrating to react-native-cli?