React native 反应本机metro服务器失败,命令行在运行程序时消失
我这样做React native 反应本机metro服务器失败,命令行在运行程序时消失,react-native,React Native,我这样做npx react native run android它显示命令行metro服务器,然后立即消失。 知道为什么会这样吗 我明白了: Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.
npx react native run android
它显示命令行metro服务器,然后立即消失。
知道为什么会这样吗
我明白了:
Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/5.5/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 7s
27 actionable tasks: 2 executed, 25 up-to-date
info Connecting to the development server...
info Starting the app on "emulator-5554"...
Starting: Intent { cmp=com.newawesomep/.MainActivity }
然而,它只是显示了命令行界面并消失了我解开了这个谜。我设法从节点13.2.0降级到10.14.1 所有的工作都很完美,没有进一步的麻烦。万一有人遇到这个问题:)