gpt4 book ai didi

android - ENOTEMPTY : directory not empty, rmdir '/tmp/react-native-packager-cache-02b2ace9b81fa119b172fdfd36d3a3b4e4156b70/cache'

转载 作者:搜寻专家 更新时间:2023-11-01 09:29:57 29 4
gpt4 key购买 nike

在做 release build android react-native 的时候

$ ./gradlew assembleRelease

最后抛出以下错误。

Loading dependency graph, done.

ENOTEMPTY: directory not empty, rmdir '/tmp/react-native-packager-cache-02b2ace9b81fa119b172fdfd36d3a3b4e4156b70/cache'

:app:bundleReleaseJsAndAssets FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:bundleReleaseJsAndAssets'.
> Process 'command 'node'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

我正在使用

"react": "16.0.0-beta.5",
"react-native": "0.49.3",

请指导

最佳答案

尝试 ./gradlew clean 然后 ./gradlew assembleRelease 。它应该有效。

关于android - ENOTEMPTY : directory not empty, rmdir '/tmp/react-native-packager-cache-02b2ace9b81fa119b172fdfd36d3a3b4e4156b70/cache',我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47925141/

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