Fork me on GitHub
#cljsrn
<
2022-11-08
>
Татьяна11:11:07

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
]

dnolen15:11:05

You need an advanced build

Татьяна09:11:03

@U050B88UR thanks a lot for your help