Error : No resource found that matches the given name (at 'icon' with value '@drawable/icon').
This is my manifest... I'm extremely new to this, just started this morning and have no previous programming experience.
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.asdf" android:versionCode="1" android:versionName="1.0" >  <uses-sdk     android:minSdkVersion="8"     android:targetSdkVersion="19" />   <application     android:allowBackup="true"     android:icon="@drawable/ic_launcher"     android:label="@string/app_name"     android:theme="@style/AppTheme" >  </application> <application android:label="@string/app_name" android:icon="@drawable/icon"> <activity android:name="ExampleActivity"           android:label="@string/app_name">     <intent-filter>         <action android:name="android.intent.action.MAIN" />         <category android:name="android.intent.category.LAUNCHER" />     </intent-filter> </activity> </application>  </manifest> Found this question. I was importing an old project into android studio and got the error.
The issue was eventually answered for me here mipmap drawables for icons
In the manifest it has
<application     android:allowBackup="true"     android:icon="@drawable/ic_launcher" ... but @drawable has been superseded by @mipmap so needed changing to:
<application     android:allowBackup="true"     android:icon="@mipmap/ic_launcher" ... I put this answer here, as it may become a more common issue.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With