报错信息如下:
Execution failed for task ':app:packageDebug'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
> Entry name 'res/animator/linear_indeterminate_line1_head_interpolator.xml' collided
* 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.

解决办法:
方法一:把之前打包记录删了重新打包
方法二:人重启电脑可以解决
方法三:clean、build之后解决文章来源:https://www.toymoban.com/news/detail-506223.html
可以都试试,哪个好使用哪个,我用的第一种,第二种文章来源地址https://www.toymoban.com/news/detail-506223.html

到了这里,关于android打包出错A failure occurred while executing com.android.build.gradle的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!