Smart Apps
Smart Apps

Reputation: 113

File Android.png does not exist in Android Studio when create image asset

When I try to create action icon in Image Asset of Android Studio I saw the error log: Android.png does not exist and I can not create action icon. Anyone can help me?

screenshot

Upvotes: 7

Views: 4755

Answers (4)

Grog Klingon
Grog Klingon

Reputation: 39

For me, the "does not exist" file was is file: ...Android\App-Name\.idea\assetWizardSettings.xml

Upvotes: 0

Ahmed Mujtaba
Ahmed Mujtaba

Reputation: 764

This issue can be resolved by:

Select Launcher Icons, definitely, there will be the previous linked file which was removed from the system. Just go there and choose some other file and the issue will be resolved automatically.


.png file does not exist


Upvotes: 23

Alexander Fedoseev
Alexander Fedoseev

Reputation: 11

In my case it was an image wizard issue. Image asset wizard caches path to ic_launcher icon and can't find it. To resolve it you need repick ic_launcher image file for background layer and/or/maybe foreground layer.

Also you can use such command line tool like ack to find all strings 'burma_launcher.png' and manually edit finded files

Upvotes: 1

sasi66
sasi66

Reputation: 437

recommend that you use the material design style for action bar and tab icons, even if you support older Android versions. Use appcompat and other support libraries to deliver your material design UI to older platform versions.

As an alternative to Image Asset Studio, you can use Vector Asset Studio to create action bar and tab icons. Vector drawables are appropriate for simple icons and can reduce the size of your APK.

Upvotes: 0

Related Questions