I follow this example to build project by command:
eas build -p android --profile preview
also tried
eas build --profile production --platform android
in this document https://docs.expo.dev/build-reference/apk/#configuring-a-profile-to-build-apks
and my eas.json is
{
"build": {
"preview": {
"android": {
"buildType": "apk"
}
},
"preview2": {
"android": {
"gradleCommand": ":app:assembleRelease"
}
},
"preview3": {
"developmentClient": true
},
"production": {
"android": {
"buildType": "apk"
}
}
}
}
However, I got tar.gz rather than .apk file link.
I don't know where is the problem for.
(I can build apk yesterday and I just add firebase in project today)
Thank you.
Please try to specify the applicationArchivePath. By default, an *.apk and *.aab-file are assembled (and therefor packed in a tarball). You can narrow it down by specifying the output.
"build": {
"preview": {
"android": {
"buildType": "apk",
"applicationArchivePath": "android/app/build/outputs/**/*.apk"
}
},
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With