Hi Guys!
I'm new here and in the Garmin development world, but I have decent amount of experience, especially in java. Still, I could not resolve this problem I'm gonna describe below.
Environment
I have a completely fress installed Mac M1 with the latest Sonoma OS with oracle java 21 LTS. I followed the Garmin dev guide and downloaded the SDK manager and installed all the devices and first the 7.0.0.beta1 SDK.
Steps I did
- I created my first project as instructed, and I after I turned off my built-in firewall, the sample digital clock app started. Awesome.
- Then I thought I do some experience with the samples from the SDK folder and since then nothing works. I tried to run one of the samples, it did not run. Ok, let's try again the sample I created. Same error: Unable to connect to the simulator.
- I downgraded to SDK 6.4.1, no success.Nothing runs.
- I downgraded to java 8, no success. I found out it doesn't even build, maybe because the SDK version different, so I switched back to the latest beta, which I created the sample with.
- After I cleared out the bin, it runs again.
- Let's try then the sample from the SDK dir. Not working.
- Let's try again my sample (without any SDK or java change), not working again.
So I stopped trying at this point and I'd like to ask you guys, what am I missing here? I see that there must be a matrix between the java version I use, the Garmin SDK is marked as default AND the app's API level it was generated, but I'm a bit lost now.
Thanks for the help!
Sandor