Issue
There is something strange in my Visual Studio 2015 when I change (not even replace) the icon image for Android in Resources --> drawable --> + subs than my visual studio won't build an show me the following error:
Error: No resource found that matches the given name (at 'icon' with value '@drawable/icon') it points to the AndroidManifest.xml
<activity android:configChanges="orientation|screenSize" android:icon="@drawable/icon">
If I revert to my old revision of this map it will work ? but this is not what we want of course.
BE AWARE the resource does exist and have the correct dimensions etc.
Does someone knows what I'm doing wrong or missing?
Solution
I think if you use Visual Studio 2015 you can generate the wanted app icon with a online generator.
Then you put the specific generated image files like
- Icon-hdpi.png
- Icon-xhdpi.png
- Icon-xxhdpi.png
into the specific directories of your Android Project
- /Resources/drawable-hdpi
- /Resources/drawable-xhdpi
- /Resources/drawable-xxhdpi
The last step is to select the inserted images as your app icon via your AndroidManifest file.
For more information visit that link:
Answered By - mentalo
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.