Compose for Desktop: Get Your Weather! |

Build a desktop weather app with Compose for Desktop! You’ll get user input, fetch network data and display it all with the Compose UI toolkit.

This is a companion discussion topic for the original entry at

Published as a macOS app using packageDmg.
The published app was run on macOS Big Sur. The app is running, but it seems that the api communication is not working. Do I need to make any additional settings?

Hey! Thanks for the comment! Could you check the API Key is inserted correctly? It should have been removed from the sample.

1 Like

I Downloaded the starter project and opened it in intellij IDEA, ran the app at it crashed with the following error ;

EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x00007ff8d7a9478c, pid=19992, tid=17220

JRE version: Java™ SE Runtime Environment (17.0.2+8) (build 17.0.2+8-LTS-86)

Java VM: Java HotSpot™ 64-Bit Server VM (17.0.2+8-LTS-86, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)

Problematic frame:

C [KERNELBASE.dll+0x4478c]

No core dump will be written. Minidumps are not enabled by default on client versions of Windows

An error report file with more information is saved as: