토픽 8에서 진행하던 Android APK 테스트 자료를 토픽 1293 기준 전용 페이지로 옮겼습니다. 현재 결론은 명확합니다: 서버·에뮬레이터·설치 경로는 정상이고, preview/release APK는 앱 내부 React Native/Hermes JavaScript 런타임 오류로 실행 직후 종료됩니다.
✅ 에뮬레이터 준비 완료✅ APK 설치 성공❌ Preview 실행 직후 크래시⚠️ Dev client는 Expo 서버 필요📍 작업 폴더 유지
현재 판정
테스트 환경 문제 아님: Android SDK, AVD, adb 설치/실행/스크린샷 수집 경로는 작동합니다.
Dev client APK: 실제 앱 화면이 아니라 Expo Development Build/Dev Launcher입니다. npx expo start 개발 서버가 있어야 기능 화면 테스트가 가능합니다.
Preview release APK: 실제 앱 본체가 들어간 APK로 보이나 Android 15/API35, Android 16/API36 모두 실행 직후 같은 JS 오류로 크래시합니다.
다음 필요물: React Native/Hermes 오류를 수정한 새 APK. 새 APK가 오면 같은 폴더와 스크립트로 바로 재테스트하면 됩니다.
작업 위치
테스트 폴더/home/ray/.openclaw/workspace/android_app_testing_오픈클로APK 보관apks/리포트reports/Android SDK/home/ray/Android/Sdk현재 웹 페이지https://report.rayp.store/android-apk-testing-1293/
에뮬레이터
Hermes_API35: Android 15 / API 35
Hermes_API36: Android 16 / API 36
최근 확인 실행 장치: emulator-5554, boot 완료
서버용 headless 모드라 화면 확인은 스크린샷/녹화로 합니다.
사용 스크립트 빠른 실행
cd /home/ray/.openclaw/workspace/android_app_testing_오픈클로
./01_start_emulator.sh # 기본 API35 시작
./02_emulator_status.sh # 상태 확인
./03_stop_emulator.sh # 종료
./10_install_apk.sh apks/app.apk
./20_apk_info.sh apks/app.apk
./30_launch_app.sh com.example.app
./40_logcat.sh com.example.app
./50_screenshot.sh
./60_screenrecord.sh 30
테스트 1 · Dev client APK
파일secure-notes-android-dev-client-debug-not-standalone.apk패키지store.rayp.securenotes결과설치/실행은 되지만 Secure Notes 본 화면이 아니라 Expo Dev Launcher 화면필요npx expo start 개발 서버
파일secure-notes-android-preview-release.apkSHA25610e62aca23da8842a09acd56218093af6c9253ef6fa41bf95daa21da7948a9bb패키지store.rayp.securenotes버전0.1.0 / versionCode 1결과Android 15/API35, Android 16/API36 모두 실행 직후 크래시
ReactNativeJS: [runtime not ready]: TypeError: Cannot read property 'S' of undefined
com.facebook.react.common.JavascriptException
Fatal signal 6 (SIGABRT)
Force finishing activity store.rayp.securenotes/.MainActivity
Process store.rayp.securenotes has died
증거 스크린샷
Dev clientExpo Development Build 화면
Dev client개발 서버 없음
Preview앱 아이콘 설치 확인
Preview크래시 직전 빈 화면/스플래시
Preview크래시 후 런처 복귀
새 APK가 오면 재테스트 순서
새 APK를 apks/ 폴더에 넣습니다.
./20_apk_info.sh apks/새파일.apk로 패키지명/런처 액티비티 확인.
./10_install_apk.sh apks/새파일.apk로 설치.
./30_launch_app.sh store.rayp.securenotes 실행 후 5~10초 생존 확인.
./40_logcat.sh store.rayp.securenotes, ./50_screenshot.sh, 필요 시 ./60_screenrecord.sh 30로 증거 수집.
Android 15/API35와 Android 16/API36 둘 다 확인해서 OS 버전 문제인지 앱 공통 문제인지 분리합니다.
타임라인
Dev client 테스트 설치/실행은 성공. Expo Dev Launcher가 열려 실제 Secure Notes 기능 테스트는 불가.
Preview release 1차 실제 앱 본체 APK 설치 성공. 실행 직후 프로세스 생존 실패.