ERROR: Using multiple versions of the Android Gradle plugin in the same build is not allowed.

Hi,

I have an ejected expo app that was previously building on Android but is currently displaying the following error when trying to build:

ERROR: Using multiple versions of the Android Gradle plugin in the same build is not allowed.
	'/project/path/mobile/node_modules/expo-app-loader-provider/android' is using version 3.1.3
	'/project/path/mobile/node_modules/expo-analytics-amplitude/android' is using version 3.2.1

If I manually set them both to 3.2.1, there are other conflicting Gradle versions in various expo packages.

What is the best way to resolve those?

Thanks!