shapesGenerate Build APK / AAB

How to build APK or AAB ?

circle-info

bullhorn NOTE : Before launching the app, ensure you have correctly set up the ADMIN LARAVEL and have added all necessary data through the admin panel.

1. Android

Build APK Using Android Studio :

  1. Open Android Studio and navigate to the Android folder.

  2. Give the Gradle build process enough time to finish.

  3. From the menu bar at the top, choose "Build."

  4. Next, choose "Generate Signed Bundle / APK" from the options.

  5. Select Android App Bundle (AAB) for posting to the Google Play Store and APK for testing your app.

  6. After choosing an option, click the 'Next' button.

  7. If you don't already have a key store, click on "Create New" to set one up. bullhorn NOTE :\Your keystore is essential when uploading your AAB to the Play Store. It is a one-time use; if you upload your app using a particular keystore and then lose it, you won't be able to upload your AAB again with a new keystore. bullhorn NOTE : Ensure you remember your alias name and password, as they are required to generate the SHA key for the release.

  8. Specify the location where you want to save the keystore, enter the keystore password, choose an alias name and alias password, and then click the OK button.

  9. If you’ve already created a keystore, simply choose the file path, enter the alias name and password, and then click the Next button.

  10. Click "Create" after selecting "Release" from the Build Variants menu.

  11. It may take a moment for the APK to be generated. Once it's ready, you can find it located in the bottom right corner.

Build APK Using Terminal :

  1. Open Terminal in Visual Studio Code

    1. Open Terminal in Visual Studio Code.

    2. Open the terminal in VS Code by pressing:

      1. Ctrl + ` (backtick) on Windows/Linux

      2. Cmd + ` on macOS

  2. Navigate to the Android Folder Run the following command in the VS Code terminal :

    This changes the directory to the Android folder inside your React Native project.

  3. Build the APK Run the following command :

  4. Find the APK

    Once the build is complete, your APK will be available at:

2. IOS

  1. Open Your Xcode Project.

  2. Click on Product in the top tab, and then click Archive

  3. Wait for the Archive build to complete.

  4. When the Archive build is complete, click the Distribute App button.

  5. A dialog will open. Select App Store Connect and click Distribute.

Last updated