eas build -p android --profile preview
//edit eas.json
{
"cli": {
"version": ">= 0.52.0"
},
"build": {
"development": {
"developmentClient": true,
"distribution": "internal"
},
"preview": {
"android": {
"buildType": "apk"
},
"distribution": "internal"
},
"production": {}
},
"submit": {
"production": {}
}
}
//build with that profile
eas build -p android --profile preview
To specify building an APK instead of an App-bundle with
EAS Build, Add build type to the appropriate release-channel:
// Add this in eas.json to your release channel
"android": {
"buildType": "apk"
}