08-30-2021 01:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-30-2021 01:18
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi, first time poster, sorry if I have the wrong forum, copied the altimeter example https://github.com/Fitbit/sdk-altimeter (except LICENCE and README.md) into fitbit studio, package.json is text based on the github example but graphical on fitbit studio, so chose type app, versa3, sdk v6, location permission, english locale. When I run I get
- Error: One or more required files do not exist in the project: resources/index.view and resources/widget.defs
- Build failed.
These files are not on the github altimeter example and I cant see them being called from any of the code, any suggestions, thanks tonyf1

- Labels:
-
JavaScript
08-30-2021 01:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


08-30-2021 01:42
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
The problem is probably that the project was written for SDK4, whereas you're targeting SDK6.
The main changes came between SDK4 and SDK5; see how you get on with the Migration section here.
Gondwana Software

08-30-2021 01:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-30-2021 01:46
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
that sounds good, thanks
- Rename index.gui file to index.view
- Rename widgets.gui to widget.defs
08-30-2021 02:55
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

08-30-2021 02:55
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Yes, that fixed it, thanks. Who would I contact to have the documentation at https://dev.fitbit.com/build/tutorials/examples/ improved? I think it is important because its one of the starting places for new programmers.
08-30-2021 13:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


08-30-2021 13:47
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I suspect they know. Submitting an issue to the relevant git repo would probably bring it to the developer's notice; raising a pull request with SDK5/6 code would be even better!
Many Fitbit-related repositories are managed by non-Fitbit people.
Gondwana Software

09-12-2021 22:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-12-2021 22:24
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Hi all
For what its worth, I have decided to write some beginner level tutorials, my first http://drrea.org.au/Fitbitstuff/tutorialbart.pdf provides a little more help on running the Tutorial SDK example app "Bart" at https://dev.fitbit.com/build/tutorials/examples/
09-12-2021 22:31 - edited 09-12-2021 22:31
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


09-12-2021 22:31 - edited 09-12-2021 22:31
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
@tonyf1 Wow! Great job! 👍
Gondwana Software
09-13-2021 04:34 - edited 09-14-2021 01:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-13-2021 04:34 - edited 09-14-2021 01:51
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Another beginners tutorial, a "Hello World" http://drrea.org.au/Fitbitstuff/minimaltute.pdf
and another

09-13-2021 20:21
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

09-13-2021 20:21
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Wasnt sure where best to put these tutorials? At Github at Fitbit /ossapps ? Request a Tutorials heading or under examples? Then do a PR?

