Launching lib/main.dart on SM G955F in debug mode... lib/main.dart:1

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':app:processDebugResources'.

A failure occurred while executing$ActionFacade Android resource linking failed /Users/canseyhan/Documents/Flutter/bugunneyesem/build/app/intermediates/packaged_manifests/debug/AndroidManifest.xml:16: AAPT: error: resource mipmap/ic_launcher (aka com.example.bugunneyesem:mipmap/ic_launcher) not found. 2

  • 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.

  • Get more help at

BUILD FAILED in 13s Exception: Gradle task assembleDebug failed with exit code 1

Solution 1: Kris Kuruvila

Go to `\build\app\intermediates\packaged_manifests\debug\AndroidManifest.xml

Then under <application tag, under android:icon="@mipmap/ic_launcher" change ic_launcher to the name of your icon's image name.

Then save the file.

This will solve your issue.

Solution 2: Codemaker

This might be an issue with cache files. So, first we need to remove all intermediate files (cache files) by File -> Invalidate cache / Restart option.

Still, you are facing the issue, then you have to change the app icon or change the app icon name from,

        android:label="Test App"