I’ve built the .aab file and I want to run it, what’s the next step I only have Expo Go on my iPhone and a play store aacount.
What should I do to run the file ,
What android emulator is suitable for me to test?
If I successfully installed th emulator how would my code be updated every time I change something.
Is there something to learn in this step?
Thanks for your time
I appreciate the community support
Hi @anasbouziane,
Expo Go is used for testing a project when it is in development, however, if your project contains native libraries (I’m assuming you app uses react-native-google-mobile-ads
as per one of your previous questions), you’ll need to create development build. To test the that build on Android and iOS I’d recommend checking running development builds on devices: https://docs.expo.dev/development/create-development-builds/. A development build is also like creating a custom version of Expo Go app that is unique to your project’s dependencies.
The .aab file is optimized for distribution to the Google Play Store, but AABs can’t be installed directly on your device. To install a build directly to your Android device or emulator, you need to build an Android Package (APK/.apk) instead.
Apart from the above link on creating development builds, I’d also suggest checking the following links to understand better how development builds can be run for testing:
- Build APKs for Android Emulators and devices - Expo Documentation for Android
- https://docs.expo.dev/development/create-development-builds/#on-a-device for running the development build on an iOS device (click on the iOS device tab in this section link to follow further steps)
- on how to start the development server when testing an EAS Build: https://docs.expo.dev/development/use-development-builds/#start-the-development-server
Following the above links should provide you the way to test and run on different platforms whether its a device or an emulator/simulator.
You can use any android emulator available.
To see code changes, you’ll need to create a development build and not a production file format (for example, for Android, you’ll need to create .apk instead of .aab).
I appreciate your help, Thanks a lot Aman
You’re the best
This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.