Android Compiler Issue: “Error: No resource found that matches the given name (at ‘icon’ with value ‘@drawable/ic_launcher’).”

All, Game & Software Engineering, Game Development

Issue report

If the intellisense or the compiler catches the issue “… AndroidManifest.xml:11: error: Error: No resource found that matches the given name (at ‘icon’ with value ‘@drawable/ic_launcher’).” within Eclipse or Android Studio then there is a mismatch of the detailed location of the launcher icons within the AndroidManifest.xml and the actual location of the launcher icons.

To fix the issue, begin by searching for the directories where the launcher icons are located. By default for later Android SDKs/APIs the location of the files are within the mipmap directories under the folder res. Where in earlier Android SDKs/APIs the location of the files were under drawable directories.

Locating the launcher icon

After locating the launcher icons open the Android manifest (AndroidManifest.xml) file, by double clicking the file within the Package Explorer. Within the editor, select the source-code view (the tab labeled AndroidManifest.xml, below and within the editor).
Note, within the image below (in the AndroidManifext.xml file), the android icon’s location is detailed within the drawable directory. To fix the reported issue the line needs to be changed to android:icon=”@mipmap/ic_launcher”.

Open Android manifest
Fix the issue

Please, keep your comments family friendly and respectful of each other and the author.