xxxxxxxxxx
// You want to change your eas.json to use buildType
{
"cli": {
"version": ">= 3.13.2" // whatever version you have
},
"build": {
"development": {
"distribution": "internal", // preset distribution
"android": {
"gradleCommand": ":app:assembleDebug"
},
"ios": {
"buildConfiguration": "Debug"
}
},
"preview": {
"distribution": "internal"
},
"production": {
"distribution": "internal",
"android": {
"buildType": "apk" // NEW ADDITION. Options are apk or app-bundle
}
}
},
// submit not needed, but here is a potential android submit
"submit": {
"production": {
"android": {
"serviceAccountKeyPath": "",
"track": "internal"
}
}
}
}
// Then rerun `eas build -p android`
xxxxxxxxxx
{
"cli": {
"version": ">= 0.52.0"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"distribution": "internal"
},
"production": {
"android": {
"buildType": "apk"
}
}
},
"submit": {
"production": {}
}
}