Comments (12)
Thanks for submitting this issue. I will take a look at it
from garmin-connect-seed.
@srwalter I have a difficulty confirming this issue. After running make run
I get this output, without the duplication you see:
from garmin-connect-seed.
What is the command you run?
from garmin-connect-seed.
I'm using connectiq-sdk-lin-3.0.12-2019-06-12-77ed6f47e.zip as my SDK on Linux. I'm also targeting the d2bravo for my device. I run:
$ ~/src/connectiq/bin/connectiq & # start simulator
$ make # build
$ ~/src/connectiq/bin/monkeydo bin/NumberPickerApp.prg d2bravo
initialize
start
initialize
start
Complete
from garmin-connect-seed.
I see the same behavior targeting the fenix5s
from garmin-connect-seed.
You shouldn't need to start the simulator. Can you try again without the simulator being open?
If you do want to run your application in the simulator, do make run
and this will start the simulator for you.
from garmin-connect-seed.
For me that hangs indefinitely. It looks like bin/connectiq runs in the foreground and doesn't exit for me, therefore I never get to the next command (sleep 3) in "make run"
If I modify Makefile to run connectiq in the background, then "make run" works, and it behaves the same as I described above
from garmin-connect-seed.
I just updated my version of the SDK to match yours, but still can't replicate the problem. What Java version are you using?
Also - can you verify that the hanging you described above is in fact not the application running in the simulator? When I do make run
, the application starts in the simulator and the command does 'hang' in the terminal until the application is shut down.
from garmin-connect-seed.
Java 1.8.0 here
Confirmed. If I run the simulator command from the Makefile, it does not return until I close the simulator window.
from garmin-connect-seed.
@srwalter this is actually expected - the terminal process will block until you close the simulator. To recap - you don't need to start the simulator manually. When you run make run
in the terminal, it will open the simulator with your application and will block the terminal until you close the simulator. Is this what you are seeing?
from garmin-connect-seed.
Hi Daniel, for me it was working fine with minor adjustments until 3.2.x. It seems now things are a bit different. Can you perhaps have a look? I added additional sleep time, but somehow it still fails sometimes. Connect IQ CLI didn't seem to have changed, so I find this strange. They did add more debugging capability to the simulator so maybe that's related.
Ps: Are you still actively supporting the project? I find the Eclipse SDK very poor, and use this "make" commands together with VSCode for quality of life in ConnectIQ development.
from garmin-connect-seed.
@andrezunido thanks for bringing this up. I'll take a look at this when I get a chance. I do my (poor) best to actively maintain this project and am always open to PRs!
from garmin-connect-seed.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from garmin-connect-seed.