Jitsi-meet: Cannot run android error:

Created on 22 Jul 2019  路  9Comments  路  Source: jitsi/jitsi-meet

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:runDebugReactPackager'.

    A problem occurred starting process 'command 'scripts/run-packager.sh''

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/4.10.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 41s
201 actionable tasks: 178 executed, 23 up-to-date
error Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html
error Command failed: gradlew.bat app:installDebug. Run CLI with --verbose flag for more details.

Most helpful comment

@niutech I am doing development on windows 10 by using WSL from the past 8 months. you can give it a try till now, I didn't found any limitation on it

how did you set it up without using GUI? Could you get in touch with me? I would deeply appreciate that, have spent two days trying to get that to work and I could not figure it out! here are my contact details: www.chagaifriedlander.cf

Hey did you get the solution? If yes then please post it here! Thanks in advance!

1.Create a file named "run-packager.bat" in current floder with the following content:
set RCT_METRO_PORT=8081
adb reverse tcp:%RCT_METRO_PORT% tcp:%RCT_METRO_PORT%
2.Replace commandLine("scripts/run-packager.sh") with commandLine("scripts/run-packager.bat") in build.gradle(/android/app/build.gradle锛宭ine 160);
3.try react-native run-android command again;

All 9 comments

Have you installed all npm dependencies? Do you have adb in your path?

I'm installed, but error: A problem occurred starting process 'command 'scripts/run-packager.sh', use windows 10 OS

Ah, that. Sorry, we don't support Windows for building the Jitsi Meet app.

@saghul That's very disappointing. You didn't state it in the README that the Jitsi Meet Android app cannot be built in Windows 10. I wasted hours trying to build it under Windows and I stuck on this error. Could you please make building process cross-platform?

Sorry about that, I'll get that added to the README.

Could you please make building process cross-platform?

Not really, sorry. We don't develop on Windows, so we can't provide support for a platform we don't use. It would just keep breaking and we'd be giving our users the false message that we support it.

@niutech I am doing development on windows 10 by using WSL from the past 8 months. you can give it a try till now, I didn't found any limitation on it

@niutech I am doing development on windows 10 by using WSL from the past 8 months. you can give it a try till now, I didn't found any limitation on it

how did you set it up without using GUI? Could you get in touch with me? I would deeply appreciate that, have spent two days trying to get that to work and I could not figure it out! here are my contact details: www.chagaifriedlander.cf

@niutech I am doing development on windows 10 by using WSL from the past 8 months. you can give it a try till now, I didn't found any limitation on it

how did you set it up without using GUI? Could you get in touch with me? I would deeply appreciate that, have spent two days trying to get that to work and I could not figure it out! here are my contact details: www.chagaifriedlander.cf

Hey did you get the solution? If yes then please post it here! Thanks in advance!

@niutech I am doing development on windows 10 by using WSL from the past 8 months. you can give it a try till now, I didn't found any limitation on it

how did you set it up without using GUI? Could you get in touch with me? I would deeply appreciate that, have spent two days trying to get that to work and I could not figure it out! here are my contact details: www.chagaifriedlander.cf

Hey did you get the solution? If yes then please post it here! Thanks in advance!

1.Create a file named "run-packager.bat" in current floder with the following content:
set RCT_METRO_PORT=8081
adb reverse tcp:%RCT_METRO_PORT% tcp:%RCT_METRO_PORT%
2.Replace commandLine("scripts/run-packager.sh") with commandLine("scripts/run-packager.bat") in build.gradle(/android/app/build.gradle锛宭ine 160);
3.try react-native run-android command again;

Was this page helpful?
0 / 5 - 0 ratings