I need to set the minSdkVersion of my expo app (with custom dev client) to 24. So, I added the "expo-build-properties" plugin with the minSdkVersion to my app.json file as mentioned here:
{
"expo": {
...
"plugins": [
...
[
"expo-build-properties",
{
"android": {
"minSdkVersion": 24
}
}
],
]
}
}
The problem is that when I build the app using eas build ...
, when I try to run the app on an Android emulator or a physical Android device, I get the following error. Does anyone have any idea why this is happening? The only change I made was to set the min sdk version. Everything else remained as before when the app would run properly.
In case it matters, I am developing on a MacBook Pro with an M1 chip.