Android 反应本机生成版本APK失败
我正在用react native为移动设备开发跨平台应用程序。当我尝试创建release APK时,它失败并出现错误:Android 反应本机生成版本APK失败,android,react-native,react-redux,react-native-android,Android,React Native,React Redux,React Native Android,我正在用react native为移动设备开发跨平台应用程序。当我尝试创建release APK时,它失败并出现错误: > Task :app:prepareLintJar UP-TO-DATE > Task :app:mainApkListPersistenceRelease UP-TO-DATE > Task :app:bundleReleaseJsAndAssets FAILED FAILURE: Build failed with an exception. * W
> Task :app:prepareLintJar UP-TO-DATE
> Task :app:mainApkListPersistenceRelease UP-TO-DATE
> Task :app:bundleReleaseJsAndAssets FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Failed to capture snapshot of input files for task
':app:bundleReleaseJsAndAssets' property '$1' during up-to-date check.
> Failed to create MD5 hash for file
'/Users/developer/dummy_app/.buckd/sock' as it does not exist.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or
--debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 3s
24 actionable tasks: 1 executed, 23 up-to-date
2:16:52 AM: Task execution finished 'assembleRelease'.
我考虑解决一个类似的问题,比如从根文件夹中删除.BACKD/SOCK文件和StudioActCase/Read,但没有帮助!p> 我和巴克也有同样的问题
删除整个.buckd
文件夹后,任务:app:bundleReleaseJsAndAssets
在之后成功通过
希望这能帮助别人