Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio Adding image asset not working

I'm trying to add an image in Android studio by right clicking on the drawable folder->new->Image Asset, I add an Action Bar and Tab Bar icon with a custom image and I click finish and it looks like its doing something but nothing appears in the drawable folder. I'm also unable to reference the new image name in any xml. What's funny is if I go to re-add this image, it says the image already exists and it will be overwritten. Am I doing something wrong?

like image 667
Mina M Avatar asked Feb 06 '26 20:02

Mina M


1 Answers

I create a new project with Android Studio and generate image asset in the new project. It begins to work. I don't know what's wrong with the previous project. Hope it also helps for you.

like image 168
yancaico Avatar answered Feb 09 '26 12:02

yancaico



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!