For apk : cd android && ./gradlew assembleRelease
For aab : cd android && ./gradlew bundleRelease
react-native bundle — dev false — platform android — entry-file index.js — bundle-output ./android/app/build/intermediates/ assets/debug/ index.android.bundle –assets-dest ./android/app/build/ intermediates /res/ merged/debug
react-native bundle — platform android — dev false — entry-file index.js — bundle-output android/app/src/main/assets /index.android.bundle — assets-dest android/app/src/main/res
your_project->android->app->build->intermediates->assets->debug
cd android/
./gradlew assembleDebug
your_project-> android-> app-> build-> outputs-> apk-> debug-> app-debug.apk
your_project->android->app->build->intermediates
if (__DEV__) {
console.log('I am in debug');
}