Hey there, I hope it’s fine that I report an issue which I’m having with the watch face format! Let me get straight to the point… Some how the “preview icon” (see code below) is causing my watch face to crash
I’ve tested the watch face on a Pixel Watch 2, Galaxy Watch 6 and an emulator. It works perfectly fine on the Pixel Watch, but it crashes on both the GW 6 and the emulator. Here is a screenshot of the emulator:
When I remove the icon it works without any issues:
I am also having problems with preview icons. Without the [icon=“image_id”] tag the watch face works fine but the user configuration has no image in Samsung’s companion app. If I add an icon tag referring to a png in the drawable directory, the emulator fails as above. If I deliberately add a non-existant image_id it again works on the emulator (no icon in companion app). I assume this has something to do with my icon drawables not conforming to a standard and causing the crash?
I have tried your recommendations, have tried with 450x450px png, 256x256px png and 454x454px png, 100x100px png and 100x100px bmp.
Do the icon drawables need to be something specific in order for this to work?
Thank you both so much for your help. It is all working perfectly now.
I had previously tried re-saving images (Paint3D) and using the id=“0”, id=“1” format but to no avail.
My drawables were NOT in the drawable-nodpi so I made that change.
For other people having a similar problem please note that if you add an icon for one Option, you must add an icon for ALL Options. When testing using an image for one option it would fail but after adding an icon tag for every option and moving images to the drawable-nodpi folder she works like a charm.