Android New Project error android: icon = "@ drawable / ic_launcher"

We created an Android application under Eclipse
results

/Users/123/Documents/workspace/Demo1/AndroidManifest.xml
.:11: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_launcher').

He said that under the change of address does not match the reference name.

An error

AndroidManifest.xml:11: error: Error: No resource found that matches the given name (at 'icon' with value '@drawable/ic_launcher')

An error occurred

AndroidManifest.xml

Medium manner

android:icon="@drawable/ic_launcher"

The investigation drawable folder file does not ic_launcher.
There ic_launcher in minpmap folder.
Write pictures described here
Read many users reflect the problems of the Internet, should occur after the SDK upgrade issues, estimated that the change of the original storage location.
As long as the code

android:icon="@drawable/ic_launcher"

Changed

android:icon="@mipmap/ic_launcher"

The problem can be solved.

Published 83 original articles · won praise 12 · views 180 000 +

Guess you like

Origin blog.csdn.net/shengdaVolleyball/article/details/56673105