12-16-2018 15:24
12-16-2018 15:24
I am trying to get the FitBit OS Simulator to work locally but for some reason it will never launch my application. However when I test with FitBit Studio it works fine.
I followed https://dev.fitbit.com/build/guides/command-line-interface/ with no issue but just can't get my application to load on the Simulator.
I am using Windows 10 and Web Storm. I even try the commands directly in Powershell or cmd.
Any ideas how I can fix this?
Best Answer12-17-2018 02:23
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.
12-17-2018 02:23
First, close Fitbit Studio, then launch the simulator. What happens when you run the connect command?
▶ npx fitbit Logged in as Jon Barlow <jon.barlow@fitbit> fitbit$ connect device Auto-connecting only known device: Versa Simulator fitbit$ connect phone Auto-connecting only known phone: Simulator
Best Answer12-17-2018 18:55
12-17-2018 18:55
below is the output of the commands your requested.
Logged in as <xxxxxxxxx@gmail.com> fitbit$ connect device No devices are connected and available fitbit$ connect phone No phones are connected and available fitbit$
09-11-2020 13:05
09-11-2020 13:05
having the same issue - fitbit studio does "see" the simulator, cli do not
Best Answer09-12-2020 03:37
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.
09-12-2020 03:37
If you launch the simulator, go to the Settings tab, then check it displays the same email address as the account you're logged into the CLI with.
Best Answer10-12-2020 07:55
10-12-2020 07:55
I see the same email address
Best Answer10-13-2020 10:34
10-13-2020 10:34
Hi!
What Fitbit Simulator Version and what SDK Version do you use?
Kind Regards
Dominik
Best Answer12-21-2020 06:11
12-21-2020 06:11
Are you connected to the simulator from Studio? I don't think you can connect from Studio and from the CLI at the same time.