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
]You need an advanced build
@dnolen thanks a lot for your help