09-24-2020 14:59
09-24-2020 14:59
I am trying to create a simple watch face but every time I do this error comes up saying "One or more required files do not exist in the project: resources/index.gui and resources/widgets.gui". I have tried just adding the files but when I add them they are blank and make the clockface black. Does anyone know what code I have to put in the files? I am trying to run to work with the 4.2 OS and the Versa 2. Thanks!
09-25-2020 02:43
Fitbit Developers oversee the SDK and API forums. We're here to answer questions about Fitbit developer tools, assist with projects, and make sure your voice is heard by the development team.
09-25-2020 02:43
It sounds like you made a new project whilst SDK 5.0 was being deployed.
Rename /resources/index.view to /resources/index.gui
Rename /resources/widget.defs to /resources/widgets.gui
Edit /resources/widgets.gui and replace the contents with this:
<svg>
<defs>
<link rel="stylesheet" href="styles.css" />
<link rel="import" href="/mnt/sysassets/widgets_common.gui" />
</defs>
</svg>
10-14-2020 11:54
10-14-2020 11:54
Same issue still existed for me (2020-10-14). The solution below helped.
I also use 4.2OS and a Versa - no Lite, no 2, no 3 - just Versa 😉
Thanks for posting the original question and the solution 🙂
Best Answer01-14-2021 15:06
01-14-2021 15:06
I get this issue
Hi all I'm trying to run the sample from get started, a clock face. I get connected to the simulator and stuff though I get the following errors. And I don't see anything that talks about them is the get started.
----------
This project is being built without a companion component. Create a file named companion/index.ts or companion/index.js to add a companion component to your project.
-----------
Resources set as: Fitbit Versa SDK 4.2
Any help
Best Answer01-14-2021 15:21
01-14-2021 15:21
Corrected
Best Answer02-14-2021 19:20
02-14-2021 19:20
This recommended fixes have been useful in getting Ionic simulator to work properly.
Best Answer