EAS build failed due to Error: Duplicate resources

I’m try to use eas build production but got this error, please help.

  1. SDK Version:46
  2. Platforms: Android
Execution failed for task ':app:mergeReleaseResources'.
[stderr] > [drawable-mdpi-v4/assets_background] /home/expo/workingdir/build/project/android/app/build/generated/res/react/release/drawable-mdpi/assets_background.png	[drawable-mdpi-v4/assets_background] /home/expo/workingdir/build/project/android/app/build/generated/res/react/release/drawable-mdpi/assets_background.jpg: Error: Duplicate resources
[stderr] * Try:
[stderr] > Run with --stacktrace option to get the stack trace.
[stderr] > Run with --info or --debug option to get more log output.
[stderr] > Run with --scan to get full insights.
[stderr] * Get more help at https://help.gradle.org
[stderr] BUILD FAILED in 6m 52s
Error: Gradle build failed with unknown error. See logs for the "Run gradlew" phase for more information.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.