Jump to content
Anna Blanca

Can't change icons in my app

Recommended Posts

Hi. I'm trying change icons of my Android app, and i made all as earlier - on the way Project>Option>Application>Icons. I changed all Embarcadero's default icons to my icons. But when i compile my app, i see all the same app icons in my phone. What's wrong i made?

ScreenOfIcons.jpg

Share this post


Link to post

Hi, from you screenshot, I see that you are changing icons for "Release" compiling target, so make sure that you are compiling your app for that target and not for another one like for exemple "Debug".

Share this post


Link to post

In some are cases it happened old images stay in the deployment wizard. Check in it if you have previous images and clear the list or remove only the files you don't want.

 

Sometimes (more probable) the files are the good ones but there is a cache on the device which doesn't want to refresh the icon. Restart your smartphone or tablet if all is ok in Project / Deployment screen.

Share this post


Link to post
13 hours ago, h-farid said:

Hi, from you screenshot, I see that you are changing icons for "Release" compiling target, so make sure that you are compiling your app for that target and not for another one like for exemple "Debug".

Of course, i my target is Release! 

 

Share this post


Link to post
8 hours ago, Patrick PREMARTIN said:

it happened old images stay in the deployment wizard.

Where is concretely old icons may stay? I changed icons in Option, earlier, in older Delphi versions it's worked. 

8 hours ago, Patrick PREMARTIN said:

Restart your smartphone or tablet if all is ok in Project / Deployment screen.

I restart my phone and more - i installed my app on another phone. Whatever, app still in sample Embarcadero's icons.

Share this post


Link to post
3 hours ago, Anna Blanca said:

Where is concretely old icons may stay? I changed icons in Option, earlier, in older Delphi versions it's worked. 

I restart my phone and more - i installed my app on another phone. Whatever, app still in sample Embarcadero's icons.

 

Go to Project / Deployment menu to access the deployment wizard.

 

1617236325_Capturedcran2025-06-1407_40_36.thumb.png.e991cc00520ae1f6d8a3ef71bda3c017.png

 

In the list of files included in your release you perhaps have old files and new ones. I know it should never happen, but I've seen it in the past.

 

578376833_Capturedcran2025-06-1407_41_01.thumb.png.2ce9a506de303489c18911b6060a2b43.png

 

Remove the wrong lines or use the blue array to restore default values. It will recalculate the needed files when you deploy next time and should use the good pictures.

 

 

Share this post


Link to post
14 hours ago, Patrick PREMARTIN said:

Go to Project / Deployment menu to access the deployment wizard.

 

I checked Deployment of my project. And there all icon are replaced to my pngs: 

изображение_2025-06-14_232630484.png

Share this post


Link to post

You still have some FMX icons. Are you sure the sizes used on your device correspond to your images (or its for notification+splash screen) ?

 

Did you tried to unzip your Android package or checked what images are in the android/release/ folder ?

 

 

Share this post


Link to post
20 hours ago, Patrick PREMARTIN said:

You still have some FMX icons. Are you sure the sizes used on your device correspond to your images (or its for notification+splash screen) ?

Yes, that's splash screen.

20 hours ago, Patrick PREMARTIN said:

Did you tried to unzip your Android package or checked what images are in the android/release/ folder ?

I unzip my APK. Realy, in some folders exists different pngs. In drawable-xhdpi-v4 folder exists my 96 x 96 icon and Embarcadero 48 x 48 icon, in drawable-hdpi-v4 exists my 72 x 72 icon and Embarcadero 36 x 36 icon... 

Share this post


Link to post

In the deployment wizard files list, remove all ($bds)/bin/artwork(...) files.

 

In Project / Options / Applications / Icons dialog, check what you have in your "splash screen" tab for the Android 32 release.

 

Retry a Project / Build all and a Project / Deploy.

 

This should fix the problem.

Share this post


Link to post
18 hours ago, Patrick PREMARTIN said:

n the deployment wizard files list, remove all ($bds)/bin/artwork(...) files.

How i must do it? When i check $bds-file and push Remove Selected Files - nothing not happen. When i check-out $bds-file (like on screen) - my app just do not compile. 

изображение_2025-06-17_040543634.png

Share this post


Link to post

They made a strange choice for this windows UI. I know.

 

The checkbox are there to select the files to deploy, they don't have an other effect.

 

Select the line(s) you want to remove, click on the grey cross (third icon from the left) to remove it/them.

 

I suggest to click on the "local path" column to order the list and have all artworks at the same place.

Share this post


Link to post
6 hours ago, Patrick PREMARTIN said:

Select the line(s) you want to remove, click on the grey cross (third icon from the left) to remove it/them.

It's not worked. When i press this grey cross, nothing not happens.

изображение_2025-06-17_155014259.png

Share this post


Link to post
On 6/17/2025 at 2:50 PM, Anna Blanca said:

It's not worked. When i press this grey cross, nothing not happens.

изображение_2025-06-17_155014259.png

Try the blue arrow, it should refresh all the files.

Share this post


Link to post
On 6/15/2025 at 6:58 PM, ToddFrankson said:

Sometimes, I have to go back in and re-select my images.  

This is abnormal behavior. You shouldn't need to go back over it if you save the options properly after making changes. Does this happen in the latest version of Delphi or RAD Studio? Does it happen on old projects or projects created in this version?

Share this post


Link to post
6 hours ago, Anna Blanca said:

Yes, i do. No reactions. 

That's really surprising. So I have to ask again: are the splash screen images correctly specified in the project options?


Would it be possible to share the DPROJ file (be careful with any passwords it may contain, such as the Android certificate password)?

Share this post


Link to post
On 6/13/2025 at 2:05 AM, Anna Blanca said:

Hi. I'm trying change icons of my Android app, and i made all as earlier - on the way Project>Option>Application>Icons. 

Yes, that is some messy stuff, the icons.
What I do, to avoid getting even more messy:
- I made a 1:1 copy of the original Embarcadero artwork from /bin/artwork/... into a local folder to my project

- This ensure that I use the same filenames as Embarcadero did, if I forget one or some changes in new versions, there is always the fallback to the Emba Icon

- Then I redirect the folders ( not the filenames ) of the Icons dialog, to link to my local folder  ( this can be done by search/replace in *.dproj too, if you do carefully ).
- Then you might change the icons accordingly to your design, keep all dimensions, file-names, file-formats, etc., just relace the image to your design
- After that, your app takes the new images (perhaps you have to de-install/re-install) the app, to make it happen.

 

That way you don't have to fumble around with deployment at all, if its only about the original Embarcadero App Icons.
You just trick the IDE to replace the original artwork by your, without even add more and more messy filenames.

 

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×