fix(android): clean generated projects before prebuild

Local Android builds now regenerate native projects from configuration instead of carrying stale prebuild output across variants.
This commit is contained in:
Mohamed Boudra
2026-08-17 21:15:17 +02:00
parent f55f6d0599
commit 311eb48922
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -82,11 +82,11 @@ Or from `packages/app`:
```bash
# Debug
npx cross-env APP_VARIANT=development expo prebuild --platform android --non-interactive
npx cross-env APP_VARIANT=development expo prebuild --platform android --clean --non-interactive
npx cross-env APP_VARIANT=development expo run:android --variant=debug
# Release
npx cross-env APP_VARIANT=production expo prebuild --platform android --non-interactive
npx cross-env APP_VARIANT=production expo prebuild --platform android --clean --non-interactive
npx cross-env APP_VARIANT=production expo run:android --variant=release
# Clear generated Android project