🚀 Commands to build without launching:
📱 Build only (no launch)
🔧 Debug APK:
cd android && ./gradlew assembleDebug
📦 Release APK:
cd android && ./gradlew assembleRelease
🏪 Release AAB (for Play Store):
cd android && ./gradlew bundleRelease
📁 Output location
After building, the APK will be at:
android/app/build/outputs/apk/debug/app-debug.apk
⚡ If you want to build AND launch later
npx expo run:android
✅ This builds and launches on a connected device/emulator.
🪟 Windows note
On Windows, use:
cd android && gradlew.bat assembleDebug
Or from the project root:
.\android\gradlew.bat assembleDebug
🎯 The APK will be in android/app/build/outputs/apk/debug/ when done.
Comments
Post a Comment