我刚刚格式化了我的电脑并重新安装了用于 React Native 的环境。
在我构建了一个空项目之后出现了奇怪的错误。
比起我尝试在 android 文件夹中运行 gradlew clean
,甚至这段代码也不起作用。
最佳答案
you must first go to android directory by:
cd android
then use this command:
./gradlew clean
for running again , back to previous directory with:
cd ..
and again there use this:
react-native run-android
关于gradle - React Native gradlew clean 命令不起作用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60224090/