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

Unable to run Ionic app using Fitbit Studio

ANSWERED

I'm trying to use Fitbit Studio to run my Ionic application on the Ionic watch (simulate it locally). But when I run the project, the app logo appears for 5 sec and disappears thereafter. I didn't have such problem before I update Fitbit OS. What should I do now? I have checked the connection to the server but nothing changed. thanks 

Best Answer
0 Votes
1 BEST ANSWER

Accepted Solutions

Ok, I found the reason. I noticed the codes in the widget.gui file regarding the use of scrolling view and push button while later I decided to remove their corresponding svgs from index.js. I removed those lines of code and then my sideload apps was run successfully on the watch! 

It is really strange to me but hopefully the problem is solved now.

View best answer in original post

Best Answer
0 Votes
5 REPLIES 5

Hi pegetive! You mean you update your Fitbit OS on your physical Ionic device? Is there any error logs in the console, having that might give some clues of what actually happened.

Best Answer
0 Votes

Hi, yes I updated the physical smartwatch.
I see this log in the Build outputs which I do not think is troublesome:

  • This project is being built without a companion component. Create a file named companion/index.ts or companion/index.js to add a companion component to your project.
  • This project is being built without a settings component. Create a file named settings/index.tsx, settings/index.ts, settings/index.jsx or settings/index.js to add a settings component to your project.
  • Building app for Fitbit Ionic
  • App UUID: 24fa62ef-ed52-4e75-97d8-dfb974e7eaa7, BuildID: 0x0aa8cd8144b97d3e

 

Best Answer
0 Votes

I noticed that since I used square buttons and panorama view in my app I cannot run my sideload app on Fitbit Ionic. It is very strange. Any thing that might be helpful to me? thanks a lot

Best Answer
0 Votes

When you say you cannot run your app, what happens?

Do you see any error messages in the console?

Best Answer
0 Votes

Ok, I found the reason. I noticed the codes in the widget.gui file regarding the use of scrolling view and push button while later I decided to remove their corresponding svgs from index.js. I removed those lines of code and then my sideload apps was run successfully on the watch! 

It is really strange to me but hopefully the problem is solved now.

Best Answer
0 Votes