Top

Documentation

ReelEaseAI is an advanced AI-powered content creation platform that allows users to generate stunning images and videos using Text-to-Image, Image-to-Image, Text-to-Video, Image-to-Video, and Motion Video tools. It also includes smart category-wise templates, media management, light & dark mode UI, and a powerful admin dashboard for seamless content organization and workflow management.


How to build APK or AAB ?

NOTE :
Before launching the app, ensure you have correctly set up the ReelEaseAI Node.js and have added all necessary data through the admin panel.

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.

  8. 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.


    NOTE :
    Ensure you remember your alias name and password, as they are required to generate the SHA key for the release.

  9. 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.
  10. If you’ve already created a keystore, simply choose the file path, enter the alias name and password, and then click the Next button.
  11. Click "Create" after selecting "Release" from the Build Variants menu.

  12. 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
  3. Run the following command in the VS Code terminal :

    cd android

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

  4. Build the APK
  5. Run the following command :

    ./gradlew assembleRelease
  6. Find the APK
  7. Once the build is complete, your APK will be available at:

    android/app/build/outputs/apk/release/app-release.apk

Configure Release Signing (Required for Production)

IMPORTANT :
The sample project may use the debug signing configuration during development. Before publishing your application to the Google Play Store, you must create your own release keystore and configure Android release signing.

  1. Create a release keystore by running:
    keytool -genkeypair -v -keystore my-release-key.keystore -alias my-key-alias -keyalg RSA -keysize 2048 -validity 10000
  2. Move the generated keystore file into:
    android/app/
  3. Create a file named: android/keystore.properties and add:
    storePassword=YOUR_STORE_PASSWORD
    keyPassword=YOUR_KEY_PASSWORD
    keyAlias=my-key-alias
    storeFile=app/my-release-key.keystore
  4. Open: android/app/build.gradle and create a release signing configuration.
  5. Ensure your release build uses:
    buildTypes {
        release {
            signingConfig signingConfigs.release
            minifyEnabled false
        }
    }
  6. Do not use the following configuration for production releases:
    signingConfig signingConfigs.debug
  7. Generate the release APK:
    cd android
    ./gradlew assembleRelease
  8. Generate the Android App Bundle (recommended for Google Play):
    cd android
    ./gradlew bundleRelease

IMPORTANT :
Keep your keystore file and passwords in a secure location. If the keystore is lost, you may not be able to publish future updates to the same application on Google Play Store.