The error message is as follows:
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.
Solution:
Method 1: Delete the previous packaging records and repackage
Method 2: Restarting the computer can solve the problem
Method 3: Solve after clean and build
You can try both, which one is better to use, the first one I use, the second one