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!
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.
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>
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 Answer