When I make a local build of an app created using EXPO react native, I get an .apk file instead of .aab
- For testing app build I am using expo template with expo router
npx create-expo-app@latest --template tabs@50
- Then I do prebuild
npx expo prebuild
-
I’m following these instructions
Production builds locally
https://docs.expo.dev/deploy/build-project/#production-builds-locally
Publishing to Google Play Store
https://reactnative.dev/docs/signed-apk-android -
I’m generating a key with keytool
-
I’m making changes to the android/gradle.properties file
-
I’m making changes in the android/app/build.gradle adding signing config
-
And finally I am using this command
npx expo run:android --variant release
After all this I get app-release.apk file in this folder "androidappbuildoutputsapkrelease"
But how I can get .aab bundle file?
2
Answers
check if your eas.json have
under the channel you are trying to get your build from.
Have you tried ?
eas build -p android –profile preview –platform android –type app-bundle