Java 无法确定任务';的依赖项:应用程序:installDebug';
我是个新来的本地人。 当我从avd管理器启动android studio和emulator时,它运行良好。但是,当我运行react native run android时,出现以下错误:Java 无法确定任务';的依赖项:应用程序:installDebug';,java,android,react-native,android-studio,Java,Android,React Native,Android Studio,我是个新来的本地人。 当我从avd管理器启动android studio和emulator时,它运行良好。但是,当我运行react native run android时,出现以下错误: Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Use '--warning-mode all' to show the individual deprecation warn
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.2/userguide/command_line_interface.html#sec:command_line_warnings
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:installDebug'.
> 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 4s
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
少了什么吗?我该怎么办
提前谢谢请说明您工作区的目录名好吗?任何特殊字符等?@Satheeshwaran C:\Users\Ahmadbenos\dev tests\shopping list\testshop删除“dev tests”之间的空格,可以是“dev tests”,然后重试一次。@Ahmadbenos清除npm modules文件夹并重新安装it@Satheeshwaran无法工作请说明工作区的目录名好吗?任何特殊字符等?@Satheeshwaran C:\Users\Ahmadbenos\dev tests\shopping list\testshop删除“dev tests”之间的空格,可以是“dev tests”,然后重试一次。@Ahmadbenos清除npm modules文件夹并重新安装it@Satheeshwaran没用