02-13-2024 08:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-13-2024 08:39
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I'm trying to fix some bugs in the clockface that I've developed using Fitbit Studio but I have no luck with Fitbit SDK.
I've added manifest.json in the root with this code to target Versa light:
{
"manifestVersion": 2,
"name": "Your App Name",
"requestedPermissions": [
"access_heart_rate"
],
"targets": [
"23.2"
]
}
But when starting build it reports building forVersa 3 and Sense, which doesn't make sense.
How can I setup the clockface to work on Versa devices?
Answered! Go to the Best Answer.

Accepted Solutions
02-13-2024 10:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


02-13-2024 10:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
02-13-2024 10:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


02-13-2024 10:33
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
02-13-2024 12:15 - edited 02-13-2024 12:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-13-2024 12:15 - edited 02-13-2024 12:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I can't replay anything without getting that weird error in forum which I also can't paste here.
But I can edit this reply step by step.
O gosh, why did Fitbit become so frustrating?!?
So, I changed the package.json as you suggested and now I get build error:
[error][build] package.json One or more build targets was invalid: gemini
Is there a way to target multiple square shaped watches?

02-13-2024 12:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


02-13-2024 12:45
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
There are two issues here, at least:
- "gemini" is correct. If you've previously built for a different sdk version, you may need `npm i` to load the packages for 4.3.0.
- You can list multiple watch model targets if they can all use the same sdk version (which, I think, is the case). But I'd get gemini alone working first, just to avoid complication.
Gondwana Software

02-13-2024 12:59 - edited 02-13-2024 13:56
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-13-2024 12:59 - edited 02-13-2024 13:56
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Ok, updating dependencies, adding permissions and renaming few files allowed me to build and install the app on Vista light simulator.
Thank you very much!

02-13-2024 13:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


02-13-2024 13:13
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
- Who Voted for this post?
Request permission to access heart rate.
Worked out which variable is null and initialise it.
Gondwana Software
