Dey*_*pov 10 javascript java android react-native
我已经通过 expo 工具包安装了 react native,现在当我运行 yarn run android 时,我收到了那个错误。我没有更改模板上的任何内容。我不知道发生了什么。?如果有更多关于随时问。我还检查了 react native reanimated 的 build.gradle,但不幸的是,没有成功。
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\David\Desktop\TheGuruApp\node_modules\react-native-reanimated\android\build.gradle' line: 89
* What went wrong:
A problem occurred configuring project ':react-native-reanimated'.
> java.io.IOException: The filename, directory name, or volume label syntax is incorrect
* 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 28s
error Failed to install the app. Make sure you have the Android development environment set up: https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment. Run CLI with --verbose flag for more details.
Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\Users\David\Desktop\TheGuruApp\node_modules\react-native-reanimated\android\build.gradle' line: 89
* What went wrong:
A problem occurred configuring project ':react-native-reanimated'.
> java.io.IOException: The filename, directory name, or volume label syntax is incorrect
* 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 28s
Run Code Online (Sandbox Code Playgroud)
小智 0
您需要为 React Native 设置开发环境。使用以下链接
https://reactnative.dev/docs/environment-setup
还要检查jdk版本它应该高于或11.0
| 归档时间: |
|
| 查看次数: |
8986 次 |
| 最近记录: |