Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Error when debug on versa 2

ANSWERED

Hi,

 

I am trying to debug a minimal project on my new versa 2 but I got this error :

 

[20:12:35]Sideload of app failed. App was built for Fitbit Versa, but connected device only supports mira applications.
 
I tried to restart/factory reset without success... Any idea ?
Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Even we can't use fitbit studio, v4 of sdk is available on npm (npm i @Fitbit/sdk@next)

After that, you need to add new target "mira" and voila

 

You can start coding and update it when v4 will be stable

View best answer in original post

Best Answer
0 Votes
12 REPLIES 12

The current release of the SDK doesn't support Versa 2 (mira) yet. Your best bet for the time being is to develop for Versa (meson) and test using simulator.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Is there a way to publish my app on my watch to test it after development without making it available on the store ?

Best Answer
0 Votes

No. You need access to SDK version 4, which hasn't been released yet.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Thanks for your answer 

Best Answer
0 Votes

Even we can't use fitbit studio, v4 of sdk is available on npm (npm i @Fitbit/sdk@next)

After that, you need to add new target "mira" and voila

 

You can start coding and update it when v4 will be stable

Best Answer
0 Votes

Hi Leix, can you please explain the process?

What is npm? How do I access it?

Best Answer
0 Votes

1. Install node:   https://nodejs.org/en/

2. Start CMD and create new fitbit app : npx create-fitbit-app <project-name>

3. Update sdk & cli :

    - npm i @Fitbit/sdk@next
    - npm i @Fitbit/sdk-cli@next  
4. Use fitbit CLI : npx fitbit
5. Connect your phone : connect phone
6. Connect your watch : connect device
7. build your project : build
8. install your app: install
 
Note that step 3 is not described because its' not stable version of sdk
 
NPM is node's package manager. Used by fitbit to share their sdk : https://www.npmjs.com/package/@fitbit/sdk
 
feel free to ask questions !
Best Answer
0 Votes

Thank you so much Leix!!!

Appreciate your help.

Best Answer
0 Votes

Please do not publish apps built with the pre-release SDK. We won't accept any submissions for Versa 2 until SDK 4.0 has been officially released.

Best Answer
0 Votes

@JonFitbit 

How is possible then that several clockfaces are available for Versa 2?

https://gallery.fitbit.com/details/135939bc-e7c1-4c21-884d-77f83ee24d22

Best Answer
0 Votes

Fitbit has done one or two sweeps through the gallery and flagged many apps as being compatible with Versa 2. They were not originally submitted that way.

Peter McLennan
Gondwana Software
Best Answer
0 Votes

Well it seems not very fair.

Best Answer