What a terrible mess. I'm following the guide. It says to select the correct device for the package.json file and click run. I get these errors:
All files should be created when I select my device type.
Fix this.
Or don't.
Answered! Go to the Best Answer.
Please see this response: other solution. It got me past this error.
For brevity, here's the answer from that other post:
You need to rename the "index.view" file to "index.gui" and rename "widget.defs" to "widgets.gui".
Josh these files are required for certain app functionality. They are not and never have been created automatically upon compiling/building.
I suggest that you create at least a blank file with each of those names. The best thing to do is use the sdk template to create a settings project, then import your existing code and build it again.
Best AnswerPlease see this response: other solution. It got me past this error.
For brevity, here's the answer from that other post:
You need to rename the "index.view" file to "index.gui" and rename "widget.defs" to "widgets.gui".
Thanks Weston for the brief answer to the agonizing problem of why the sample clock would NOT Run on the Fitbit simulator.
Fitbit needs to do better! It is ridiculous to post sample clocks that needed googling for the solution.
This community site also irritated in insisting on a User name - i used what was on my iOS Fitbit app. It rejected it. Eventually I simply typed and hence my crazy User name that I haven't figured out how to change.
C'mon Fitbit! You will chase away users and developers with the non-intuitiveness of your web programming.
however
I cant create a file named companion/index.js because apparently / is an illegal character
Best Answer`companion` is a folder (directory) name. If a folder called that doesn't exist, create one. Then create a file named `index.js` within it.
hello, I am having trouble building a watchface for my fitibt versa 2. I press build and it just comes up with this error message - One or more required files do not exist in the project: resources/widgets.gui
Best AnswerYou're probably building for SDK5+, rather than SDK4 (Versa 2).
Best AnswerI don't use Studio, but I think that, by default, it builds things for newer watches. You need to fight with it a bit to get it to target ealier watches. Have a look at the 'Best Answer' above. The link target probably provides more info, but it isn't working for me. Searching the forum for 'package.json' might also surface some relevant posts.
Best Answer