expo-build-debug-apk-gh

Installation
SKILL.md

Build Debug APK qua GitHub Actions (app Expo/RN)

Áp dụng chung cho mọi project Expo/React Native (không phụ thuộc repo).

1. ⚠️ BẮT BUỘC: debug APK phải nhúng JS bundle (nếu không app chết "Unable to load script")

assembleDebug mặc định KHÔNG bundle JS vào APK — APK tìm Metro dev server ở localhost:8081. Cài lên máy thật không có Metro → app mở lên rồi chết/trắng hình (logcat: Unable to load script ... Make sure you're running Metro).

Cách fix: config plugin chèn vào react {} block của android/app/build.gradle (xem chi tiết skill expo-apk-standalone — gồm bảng property theo RN version + bước verify ReactExtension.kt):

  • RN ≤ 0.7x: bundleInDebug = true
  • RN 0.76+ / Expo SDK 5x: debuggableVariants = [] (bundleInDebug đã bị xóa)

Kiểm tra plugin còn hoạt động trước mỗi lần push build:

Installs
10
First Seen
Aug 20, 2026
expo-build-debug-apk-gh — hoangsoft90/ai_skills