cannot connect to simulator / illegal instruction

Former Member
Former Member
Hi,

When I try to launch the simulator from eclipse I get an error:
BUILD: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -Dfile.encoding=UTF-8 -Dapple.awt.UIElement=true -jar /Users/bart/connectiq-sdk-mac-2.1.4/bin/monkeybrains.jar -o /Users/bart/Documents/workspace/NewProject/bin/NewProject.prg -w -y /Users/bart/connectiq-sdk-mac-2.1.4/developer_key -z /Users/bart/Documents/workspace/NewProject/resources/drawables/drawables.xml:/Users/bart/Documents/workspace/NewProject/resources/layouts/layout.xml:/Users/bart/Documents/workspace/NewProject/resources/strings/strings.xml -m /Users/bart/Documents/workspace/NewProject/manifest.xml /Users/bart/Documents/workspace/NewProject/source/NewProjectView.mc /Users/bart/Documents/workspace/NewProject/source/NewProjectApp.mc -d fenix3_hr_sim -s 1.2.1
BUILD: WARNING: The launcher icon (30x30) is smaller than the specified launcher icon size of the device 'fenix3_hr' (40x40). Padding will be added to the image to center it.
BUILD: Complete
Attempt 1 to connect to simulator...
Attempt 1 to connect to simulator...
Attempt 1 to connect to simulator...


When I try to launch manually I get an illegal instruction error:
Mac-van-admin-2:bin bart$ monkeydo NewProject.prg
/Users/bart/connectiq-sdk-mac-2.1.4/bin/monkeydo: line 36: 1522 Illegal instruction: 4 "$MB_HOME"/shell --transport=tcp --transport_args=127.0.0.1:$i push "$PRG_PATH" "0:/GARMIN/APPS/$FILE"
/Users/bart/connectiq-sdk-mac-2.1.4/bin/monkeydo: line 36: 1523 Illegal instruction: 4 "$MB_HOME"/shell --transport=tcp --transport_args=127.0.0.1:$i tvm "0:/GARMIN/APPS/$FILE" $DEVICE_ID $TEST $TEST_NAME


Any ideas on how to fix this? I'm on mac os x 10.7.5 and java 1.8.0_111

Thanks!

Bart
  • Hello,

    I wanted to check in here. I seem to remember there was an issue that some developers were having using a JDK that is pre-1.7.x. What version of Eclipse are you using? What JDK? Have you tried to update these yet? Please let us know how we can help.

    -Coleman
  • Former Member
    Former Member over 8 years ago
    Hi, I'm running JDK 1.8.0 with Eclipse Neon. But I don't think the Eclipse version is really relevant as I'm having the "illegal instruction" error when I try to run monkeydo from the command line. Monkeydo seems to be a bash script referring to the bin/shell binary that came with the CIQ SDK, so I'm guessing there is something wrong with that one....
  • As an update, we have been trying to reproduce this and haven't been able to. It seems to be a shell error, but we don't know why. Could you give us information on your machine? What your CPU setup is? A system report from the system profiler? Anything unique about your setup? You can also PM me or email direct at [email][email protected][/email].

    Thanks,

    Coleman
  • Hey,

    I wanted to check back in. I'm still not able to reproduce this issue. Please let us know if it continues for you.

    -Coleman