
[code]

    Execution failed for task ':app:mergeDebugResources'.
    > [mipmap-hdpi-v4/ic_launcher] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-hdpi\ic_launcher.png [mipmap-hdpi-v4/ic_launcher] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-hdpi\ic_launcher.webp: Error: Duplicate resources
      [mipmap-hdpi-v4/ic_launcher_round] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-hdpi\ic_launcher_round.png [mipmap-hdpi-v4/ic_launcher_round] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-hdpi\ic_launcher_round.webp: Error: Duplicate resources
      [mipmap-mdpi-v4/ic_launcher] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-mdpi\ic_launcher.png [mipmap-mdpi-v4/ic_launcher] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-mdpi\ic_launcher.webp: Error: Duplicate resources
      [mipmap-mdpi-v4/ic_launcher_round] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-mdpi\ic_launcher_round.png [mipmap-mdpi-v4/ic_launcher_round] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-mdpi\ic_launcher_round.webp: Error: Duplicate resources
      [mipmap-xhdpi-v4/ic_launcher] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-xhdpi\ic_launcher.png   [mipmap-xhdpi-v4/ic_launcher] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-xhdpi\ic_launcher.webp: Error: Duplicate resources
      [mipmap-xhdpi-v4/ic_launcher_round] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-xhdpi\ic_launcher_round.png   [mipmap-xhdpi-v4/ic_launcher_round] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-xhdpi\ic_launcher_round.webp: Error: Duplicate resources
      [mipmap-xxhdpi-v4/ic_launcher] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-xxhdpi\ic_launcher.png [mipmap-xxhdpi-v4/ic_launcher] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-xxhdpi\ic_launcher.webp: Error: Duplicate resources
      [mipmap-xxhdpi-v4/ic_launcher_round] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-xxhdpi\ic_launcher_round.png [mipmap-xxhdpi-v4/ic_launcher_round] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-xxhdpi\ic_launcher_round.webp: Error: Duplicate resources
      [mipmap-xxxhdpi-v4/ic_launcher] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-xxxhdpi\ic_launcher.png   [mipmap-xxxhdpi-v4/ic_launcher] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-xxxhdpi\ic_launcher.webp: Error: Duplicate resources
      [mipmap-xxxhdpi-v4/ic_launcher_round] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-xxxhdpi\ic_launcher_round.png   [mipmap-xxxhdpi-v4/ic_launcher_round] C:\Users\berdy\AndroidStudioProjects\MySize\app\src\main\res\mipmap-xxxhdpi\ic_launcher_round.webp: Error: Duplicate resources
    
    * 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.
    
[/code]


CC BY-SA 4.0
2021-10-18T12:07:47.977
83163
2021-10-19T07:21:08.633
2021-10-19T07:21:08.633
3060
48448
question
android
android studioでのエラー（Duplicate resources）について


`ic_launcher` と が `ic_launcher_round` が、それぞれ `.png` と `.webp` の 2
種類あるのが原因でしょうね。どちらか一方を残して、他は削除またはリネームするなどしてはどうでしょうか？


CC BY-SA 4.0
2021-10-18T13:15:19.833
83164
2021-10-18T13:15:19.833
7290
83163
answer