gpt4 book ai didi

android - React Native 在构建时抛出访问被拒绝错误

转载 作者:太空狗 更新时间:2023-10-29 15:58:29 27 4
gpt4 key购买 nike

我在控制台中遇到这个错误。

FAILURE: Build failed with an exception.

What went wrong: Failed to capture snapshot of output files for task ':react-native-linear-gradient:processDebugManifest' property 'aaptFriendlyManifestOutputDirectory' during up-to-date check.

>java.nio.file.AccessDeniedException: P:\React Native\JDream\node_modules\react-native-linear-gradient\android\build\intermediates\manifests\aapt\debug

最佳答案

如果你使用的是安卓只需按照以下步骤操作:

  1. cd android
  2. gradlew clean
  3. cd ..
  4. react-native run-android

关于android - React Native 在构建时抛出访问被拒绝错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51675120/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com