Diagnostic step 1
Unzip the problematic release APK and verify presence and path of assets/index.android.bundle. If missing, the problem is packaging — focus on Gradle tasks.
Generated Oct 15, 2026, 9:17:34 AM
Unzip the problematic release APK and verify presence and path of assets/index.android.bundle. If missing, the problem is packaging — focus on Gradle tasks.
Temporarily set minifyEnabled=true and shrinkResources=false to isolate whether resource shrinking removes the asset. If bundle present with shrinkResources off but missing when enabled, add keep rules to prevent the asset from being stripped or disable resource shrinking.
Ensure the RN gradle bundle task runs in release: run ./gradlew assembleRelease --info and look for ':app:bundleReleaseJsAndAssets' execution and its output. If the task is skipped, check react.gradle inclusion and NODE_BINARY environment variable in CI.
Add targeted ProGuard keep rules for React Native bootstrap classes (keep com.facebook.react.** and com.facebook.jni.**), then rebuild to see if crash disappears while bundle packaging remains intact.
Inspect adb logcat for the obfuscated exception and upload mapping.txt from R8 to deobfuscate the stack trace. This can show if the crash is due to missing classes rather than absent bundle; if so, iterate ProGuard rules accordingly. If uncertain after these steps, collect APK contents and gradle logs and escalate to a build-tooling specialist with CI and gradle configuration attached.