在npx react-native run-android之后的虚拟工作室代码终端中你好,它告诉我: 失败:构建失败,并出现异常。
java.io.IOException:文件名,目录名称或卷标签语法不正确
5秒内失败
错误无法安装该应用程序。确保已设置Android开发环境:https://facebook.github.io/react-native/docs/getting-started.html#android-development-environment。使用--verbose标志运行CLI以获取更多详细信息。 错误:命令失败:gradlew.bat app:installDebug -PreactNativeDevServerPort = 8081
失败:构建失败,并出现异常。
java.io.IOException:文件名,目录名称或卷标签语法不正确
尝试: 使用--stacktrace选项运行以获取堆栈跟踪。使用--info或--debug选项运行,以获取更多日志输出。使用--scan运行以获取完整的见解。
5秒内失败
at checkExecSyncError (child_process.js:630:11)
at execFileSync (child_process.js:648:15)
at runOnAllDevices (C:\Users\User\Desktop\CarSpot Mobile App\carsport\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\runOnAllDevices.js:94:39)
at buildAndRun (C:\Users\User\Desktop\CarSpot Mobile App\carsport\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:179:41)
at C:\Users\User\Desktop\CarSpot Mobile App\carsport\node_modules\@react-native-community\cli-platform-android\build\commands\runAndroid\index.js:133:12
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Command.handleAction (C:\Users\User\Desktop\CarSpot Mobile App\carsport\node_modules\react-native\node_modules\@react-native-community\cli\build\index.js:182:9)