09-28-2020 18:26
09-28-2020 18:26
I'm trying to update my clock face to use SDK 4.2. When I try to build it, I get the following errors:
It seems "atlas" is an alias for Versa 3, and that SDK v4.2 doesn't support Versa 3, but Versa 3 isn't even in my list of targets to select. I exported my project and can see that atlas is definitely in the list of targets, but I cannot remove it from my project in Fitbit Studio, and so I cannot build it.
Please help!
JB
Answered! Go to the Best Answer.
10-28-2020 09:08
10-28-2020 09:08
Rename the package.json file to package.txt, then you can edit it to remove the invalid build targets. When done, rename it back to package.json.
09-28-2020 18:32
09-28-2020 18:32
You need to use SDK5 to target Versa 3 (atlas), and that has to be a separate Studio project (although you can use the same clockface name and UUID, I think).
I haven't used Studio in years and I don't fully understand the problem, but if you've made a change to package.json that you can't edit, try renaming that file to package.txt, make your changes, then rename it back.
09-28-2020 18:39
09-28-2020 18:39
I'm not targeting Versa 3. Not in Fitbit Studio anyway. It's not even in my list of targets to select. However, it's in my package.json, and I can't get rid of it, because there's no way to manually edit it in Fitbit Studio.
09-28-2020 18:42
09-28-2020 18:42
Okay, I see now that I can rename, edit, and rename it back. Thank you for that suggestion! I was afraid I'd screw up my project if I touched the name of that file in Studio.
10-26-2020 15:09
10-26-2020 15:09
Hey were you able to make this work? I'm trying to get a clockface on the versa but i keep getting the same error message.
10-28-2020 09:08
10-28-2020 09:08
Rename the package.json file to package.txt, then you can edit it to remove the invalid build targets. When done, rename it back to package.json.
01-05-2021 13:16
01-05-2021 13:16
Thank you , this worked.
02-20-2021 13:44
02-20-2021 13:44
Just thought of adding an extra bit to this thread:
Model Alias
-----------------------------
Fitbit Ionic ......... higgs
Fitbit Versa ......... meson
Fitbit Versa Lite .... gemini
Fitbit Versa 2 ....... mira
Fitbit Versa 3 ....... atlas
Fitbit Sense ......... vulcan
Source: https://dev.fitbit.com/build/guides/multiple-devices/
09-26-2022 13:18
09-26-2022 13:18
Thanks for this input.. Though my attempt gave me these errors?
Any suggestions?
09-26-2022 13:43
09-26-2022 13:43
You can ignore the warnings about companion and settings.
You should be able to rename the .gui files as required for Versa 2. You'll probably also need to change the content of the widget file. Essentially, you need to do the SDK5 'migration' (see here) backwards.
09-27-2022 06:41
09-27-2022 06:41
Peter
Thanks. As I did some more research I came across one of your other post.. I renamed the files and removed the other models from the package.json
Now onto other bumps... 😉