简体   繁体   English

为什么清理命令在 Gradle React 原生项目中不起作用?

[英]Why the command to clean is not working in Gradle React native project?

I am trying to clean Gradle files after cd .\\android , but it's not working.我试图在cd .\\android之后清理 Gradle 文件,但它不起作用。 Please see the below command.请看下面的命令。

D:\ReactNativeVS\demo\android>./gradlew clean

I get the following error:我收到以下错误:

'.' '.' is not recognized as an internal or external command, operable program or batch file.不是内部或外部命令,也不是可运行的程序或批处理文件。

请尝试运行: gradlew clean ,不带./

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM