Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

flutter Android resource linking failed @mipmap/ic_launcher not found

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > Android resource linking failed
     E:\Programs\Flutter\<My_APP>\build\app\intermediates\packaged_manifests\debug\AndroidManifest.xml:16: AAPT: error: resource mipmap/ic_launcher (aka com.example.<My_APP>:mipmap/ic_launcher) not found.

I try to removing icon from android manifest file it works but, I want flutter ic_launcher. Any idea, what is the cause ?

like image 942
JuniorBOMB Avatar asked Mar 23 '26 18:03

JuniorBOMB


1 Answers

In case you've switched your app icon not only in terms of the image but also the name of it then you also need to change the icon name in the AndroidManifest.xml.

android:icon="@mipmap/'Your icon_name'">
like image 197
André Avatar answered Mar 26 '26 08:03

André



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!