Search code examples
jitsijitsi-meet

Jitsi-meet android released app crash when startup


The released app crash when startup without any prompts.

  1. I cloned the git repo jitsi/jitsi-meet.
  2. Run npm install. There is an mistake of SASS. Then I changed the version of SASS to 'latest'.
  3. Remove node-modules dir and run npm cache clean --force.
  4. Run npm install.
  5. Run make.
  6. Generate android cert to android/app/ and change the build.gradle to apply the cert.
  7. Run ./gradlew assembleRelease in android/.
  8. Run ./gradlew installRelease.

I also try the app on emulator and it crash too.

Android SDK 26 build tool 26.02


Solution

  • The index.android.bundle is missing in released app. Try follow command:

    react-native bundle --platform android --dev false --entry-file index.android.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res

    It works fine, but there is an another issue: All icons are missing.

    UPDATE: Fix icons missing,here.