反应本机从 github 编译应用程序

时间:2021-05-25 02:23:25

标签: react-native github gradle installation

大家好,我是反应原生和反应的新手。我正在尝试从 github 运行一个项目,我不断收到此错误。我尝试了很多解决方案,但仍然得到解决。

    FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':react-native-push-notification:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* 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

BUILD FAILED in 1m 11s

error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
Note: Some input files use or override a deprecated API.
error Command failed with exit code 1.

考虑到当我开始一个新项目时,我可以毫无问题地运行它。 谢谢

0 个答案:

没有答案