cljsrn

tifa 2022-11-08T11:18:07.923489Z

I use react-native, krell, emulators IOS and Android. I try to build a file apk for android used the command ./gradlew assembleDebug: 1 Execute the command from the root of the project:

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
2 Change directory:
cd android
3 Execute the command:
./gradlew assembleDebug
File apk:
yourProject/android/app/build/outputs/apk/debug/app-debug.apk
But App from this apk waits for files, which krell builds. I think that this should not be. Maybe I should to configure something more? In file ‘build.gradle’:
project.ext.react = [
  enableHermes: false,
  bundleInDebug : true,
  devDisabledInDebug: true
]

dnolen 2022-11-09T15:16:05.820459Z

You need an advanced build

tifa 2022-11-10T09:21:03.480769Z

@dnolen thanks a lot for your help