Android 执行任务时反应本机生成失败>;路径不是可读目录
我使用了Linux的Windows子系统,也许这就是问题所在?我会很高兴得到任何帮助,我会提供你需要的信息Android 执行任务时反应本机生成失败>;路径不是可读目录,android,react-native,npm,Android,React Native,Npm,我使用了Linux的Windows子系统,也许这就是问题所在?我会很高兴得到任何帮助,我会提供你需要的信息 > Task :app:processDebugResources FAILED 320 actionable tasks: 1 executed, 319 up-to-date FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':app:processDe
> Task :app:processDebugResources FAILED
320 actionable tasks: 1 executed, 319 up-to-date
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Path 'C:\Users\Username\Desktop\react-native-app\node_modules\unimodules-sensors-interface\android\build\intermediates\compiled_local_resources\debug\out' is not a readable directory.
删除
react native app\android\.gradle
文件夹为我解决了这个问题