Recent

Author Topic: Buil fail when adding a launcher icon  (Read 1296 times)

SuperCyprien

  • New member
  • *
  • Posts: 8
Buil fail when adding a launcher icon
« on: January 03, 2024, 12:26:10 pm »
Hello everybody,

My application is progressing, but I now systematically get a build error when I add a launch icon in the project options.
Do you have any idea of the problem ?
The icon is a png 72*72.
If you don't know, maybe you know how I can remove the icon from the project ?

Thank you !!
« Last Edit: January 03, 2024, 12:45:45 pm by SuperCyprien »

SuperCyprien

  • New member
  • *
  • Posts: 8
Re: Buil fail when adding a launcher icon
« Reply #1 on: January 03, 2024, 02:17:50 pm »
It works with a 36*36 icon.
But the building fails even if I replace the 72*72 with the 36*36. I had to create another project and copy/paste many thing.

SuperCyprien

  • New member
  • *
  • Posts: 8
Re: Buil fail when adding a launcher icon
« Reply #2 on: January 04, 2024, 12:00:28 am »
New twist: the icon, which crashed everything, is not even integrated into the APK.

c4p

  • Full Member
  • ***
  • Posts: 170
Re: Buil fail when adding a launcher icon
« Reply #3 on: January 05, 2024, 10:43:55 am »
This may help, I ran into a similar issue and created the launcher icons manually to the correct size.

https://forum.lazarus.freepascal.org/index.php/topic,63427.msg480472.html
Lazarus 2.0.12 r64642/FPC 3.2.0 LAMW v0.8.6.4 on Windows 10+Linux Mint 21.2, projects mainly built using AppCompat and Gradle.

 

TinyPortal © 2005-2018