Apps and watchfaces will not run in the simulator (Ubuntu 20.04) #29
Replies: 4 comments 1 reply
-
@BeanTosser This seems to be a failure to establish communication with the watch emulator, did you run the |
Beta Was this translation helpful? Give feedback.
-
Run emulator. Enter the ifconfig command to see if tap0 appears on the local network, as follows: |
Beta Was this translation helpful? Give feedback.
-
You can also try ping 192.168.166.188 to see if the local network works. |
Beta Was this translation helpful? Give feedback.
-
IF config produced the expected/successful result. Pinging that IP did not... I got: These are both moot points, however... It finally occurred to me that I should try disabling my VPN since this clearly seemed to be some sort of network issue. I did so and, what do you know, I have the Hello World app running perfectly in the simulator. Apologies for wasting your time with a stupid oversight on my part. On the other hand, hopefully others who run into the same issue will run into this and have a quick, easy solution. |
Beta Was this translation helpful? Give feedback.
-
I installed the Zepp simulator in Ubuntu. I am able to get it to run not just the simulator app but the actual watch simulation - by pressing the "simulator" button in the app - without issue. However, I am not able to actually RUN any watch apps in the simulator.
I use "zeus dev" in the root of a watch app project directory, and it successfully adds the app the the list in the simulator. When I click to open the app within the simulator, however, nothing changes in the actual simulation. It just continues to show the same stock watch face, and the app list remains empty except for the watch settings gear/cog icon.
I've noticed a few errors in the developer console as well as the terminal that I opened the simulator with.
In the devtools I get:
WebSocket connection to 'ws://192.168.166.188:7833/' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED
In the terminal:
(node:7802) electron: Failed to load URL: http://zepp-os-staging.zepp.com/frameworks/v1.0.1/side-service.html with error: ERR_NAME_NOT_RESOLVED
I find that second one interesting as zepp-os-staging.zepp.com isn't a valid/existing domain if you type it into a URL bar. Is the linux version of the simulator just not up-to-date and referencing a resource at a now obsolete url?
Beta Was this translation helpful? Give feedback.
All reactions