🥰

The error message indicates that the Android resource compiler cannot

2024/07/09に公開

error

Googleから、APIレベルを上げろとメール来たー😆

リリースのためにアップデータの作業をすることになった。

APIレベルをあげる作業をした!

エラー出たー!
The error message indicates that the Android resource compiler cannot find the ic_launcher_foreground resource in the mipmap directory. This resource is referenced in the ic_launcher.xml and ic_launcher_round.xml files. To fix this issue, you need to ensure that the ic_launcher_foreground resource exists in the mipmap directory. Here are the steps:
Navigate to the res/mipmap directory in your project.
Check if the ic_launcher_foreground file exists. If it doesn't, you need to add it.
If you're using Android Studio, you can generate a new set of launcher icons by right-clicking on the res folder, then select New > Image Asset. Follow the steps in the wizard, making sure to name your foreground image as ic_launcher_foreground.
After adding the missing resource, rebuild your project.
If the ic_launcher_foreground file does exist, then there might be an issue with how your project is structured or how your resources are being accessed. In that case, you might need to clean and rebuild your project, or check for typos in your resource file names.

アプリアイコンに設定した画像がなくなってるらしい???
設定したらビルドできた💦

https://zenn.dev/joo_hashi/articles/94ffacb900f2a1

まとめ

いつの間にか、アプリアイコンの画像がなくなっていたようです。なぜだろうか???

Discussion