APK Generation

React Native 5 min min read Updated: Aug 03, 2026 Beginner
APK Generation
Beginner Topic 3 of 15

APK Generation

An APK (Android Package) is the traditional file format used to install Android applications, useful for direct testing, sideloading, or distribution outside the Google Play Store.

Generating a Debug APK

bash cd android ./gradlew assembleDebug

Generating a Release APK

bash cd android ./gradlew assembleRelease

Locating the Generated APK File

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

Installing an APK on a Device

bash adb install android/app/build/outputs/apk/release/app-release.apk

APK vs AAB

While APKs remain useful for direct testing and sideloading, Google Play now requires the Android App Bundle (AAB) format for all new app submissions, as covered in the dedicated AAB tutorial.

Sharing an APK for Testing

APK files can be shared directly with testers through file sharing services or internal distribution tools like Firebase App Distribution, without requiring a Play Store listing.

Splitting APKs by Architecture

javascript // android/app/build.gradle splits { abi { enable true reset() include 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64' } }

Conclusion

Generating APK files remains useful for direct testing, sideloading, and internal distribution scenarios, even as Android App Bundles have become the required format for official Google Play Store submissions.

Get Newsletter

Subscibe to our newsletter and we will notify you about the newest updates on Edugators