error: Duplicate file(jenkins打包报错)

点击这里下载

如图所示,

:app:generateBundledResourcesHashRelease
140be0e7e9e7a02c1540d71574cfc68be2aef7c86f0fcee8b99818ecee6a884b
:app:processReleaseManifest
:app:processReleaseResourcesF:\android\app\build\intermediates\res\merged\release\drawable-hdpi-v4\node_modules_reactnavigation_src_views_assets_backicon.png: error: Duplicate file.
\android\app\build\intermediates\res\merged\release\drawable-hdpi\node_modules_reactnavigation_src_views_assets_backicon.png: Original is here. The version qualifier may be implied.

 FAILED

FAILURE: Build failed with an exception.

 

node_modules_reactnavigation_src_views_assets_backicon.png文件重复,当jenkins报这种错,直接重新替换.\node_modules\react-native\react.gradle文件即可,我写好了脚本,上传到了这里,点击下载

你可能感兴趣的:(error: Duplicate file(jenkins打包报错))