Ticket Created
over 3 years ago

WERETECH-11158 (SDK Manager not working in Ireland)
WERETECH-11159 (Spaces in path break simulator)

SDK Manager error

Hi,

Since the SDK 4 was released, I was having issues making my watch faces work on the Venu 2 using the new SDK. I got past the createBuffer part with the help of the SDK announcement thread, but after that was solved, I was still getting errors like setColor not being recognized, which was very weird. So I decided to start using VSCode to see if it would make any difference to those weird errors.

So first I tried leaving Eclipse installed and go about the process of getting VSCode set up. I made a copy of my Eclipse project to another folder and was able to open this as a VSCode project. I installed the plugins, configured the MonkeyC settings and ran the simulator, apparently with no issues whatsoever. However, I started to make changes to my code and they were not showing up on the simulator, like the simulator was still running Eclipse's version of my code. Then I decided to create a new watch face project from scratch in VSCode and when I ran it, it was still running my old project from Eclipse somehow? It's like the data from VSCode was not being sent to the simulator and it was still running whatever it had in cache/memory from Eclipse.

Then, my next try was deleting Eclipse (including * ~/eclipse, * ~/.eclipse and * ~/.p2) and the SDK manager (including Garmin folder in AppData/Roaming where the SDK and devices are downloaded to) completely, to start everything from scratch. Sadly none of those have uninstalls in "add or remove programs", so I deleted them manually, all the folders that I could find. I downloaded the SDK files from Garmin again (just in case they've been updated) and extracted the files from the zip to a different folder location.

The problem is that now my new SDK manager installation is not opening at all. I can go through the whole login, terms and automatic/manual update set up, but after that, the below pop-up error is being presented on the SDK download screen:

lZ1LZGk.png (397×483) (imgur.com)

If I click the Yes button, it closes the SDK manager. If I click No or Cancel, then it's as if the SDK manager was not communicating to VSCode again and I'm still not able to send data to the simulator. I think my SDK manager might have been with some kind of problem for a while and that is making VSCode not communicate correctly with it.

How can I completely remove SDK manager from my computer to really start from scratch and get rid of this error? Is there some kind of registry entry that also needs to be removed?

Thanks!

Parents
  • As soon as I replaced the space by an underscore, the simulator started to run correctly.

    This is something that bites us pretty often. We really need to add some sort of test to verify everything works when there are spaces (the SDK install path, the project path, ...). It would save everyone a lot of trouble.

    I still cannot download either SDK 4.0.1 or 4 preview 1

    I'm going to talk to on Monday morning to see if he might be able to help figure out what is going on. I don't know if there are other developers in Ireland that are having the same problem and just not mentioning it or if it is isolated to your account.

    > Any idea on when 4.0.2 will be released..

    No, honestly I do not know. Even if I did I probably couldn't say.

    > ..or if there is any way that I could manually download the SDK (without the manager)?

    We don't want to make this a thing moving forward. There is an official way to get the SDK and it requires authentication that is done by the SDK manager. That said, I'll bring this up with Kyle in the morning. If we can't figure out what the problem is or how to get a fix, we'll get something going for you.

Comment
  • As soon as I replaced the space by an underscore, the simulator started to run correctly.

    This is something that bites us pretty often. We really need to add some sort of test to verify everything works when there are spaces (the SDK install path, the project path, ...). It would save everyone a lot of trouble.

    I still cannot download either SDK 4.0.1 or 4 preview 1

    I'm going to talk to on Monday morning to see if he might be able to help figure out what is going on. I don't know if there are other developers in Ireland that are having the same problem and just not mentioning it or if it is isolated to your account.

    > Any idea on when 4.0.2 will be released..

    No, honestly I do not know. Even if I did I probably couldn't say.

    > ..or if there is any way that I could manually download the SDK (without the manager)?

    We don't want to make this a thing moving forward. There is an official way to get the SDK and it requires authentication that is done by the SDK manager. That said, I'll bring this up with Kyle in the morning. If we can't figure out what the problem is or how to get a fix, we'll get something going for you.

Children
No Data