Complete
over 3 years ago

We have a change pending that will remove platform detection from the download page on the developer site and instead list all available downloads. Watch for this change in the near future!

Connect IQ SDK download not working with Firefox on Linux

On the SDK download page at https://developer.garmin.com/connect-iq/sdk/ there are no download button or link. Running Ubuntu 20.10 and Firefox 86.0. On my Android phone with Chrome browser there is a link which kind of between items 1. Download SDK manger and 2. Launch the SDK manager (but again nothing with Android Firefox).

For some reason I can't add a screenshot of the page here.

  • nice one, very useful indeed. I found that while this worked well for the sdkmanager, I needed these old libraries for the eclipse plugin. I had to install a couple more for dependencies but once that was done and as long as they are installed in the correct sequence, it worked fine. Here is the sequence of commends I ended up following (on ubuntu 20.04 LTS):

    #!/bin/bash
    mkdir -p ~/.Garmin/ConnectIQ/SDK-manager
    cd ~/.Garmin/ConnectIQ/SDK-manager
    
    #download sdk and unzip
    wget -N https://developer.garmin.com/downloads/connect-iq/sdk-manager/connectiq-sdk-manager-linux.zip
    unzip -o connectiq-sdk-manager-linux.zip
    
    #install additional dependancy and optional gtk module
    sudo apt install libenchant1c2a libcanberra-gtk-module libegl1-mesa
    
    #download libraries
    wget -N http://archive.ubuntu.com/ubuntu/pool/main/i/icu/libicu60_60.2-3ubuntu3_amd64.deb http://archive.ubuntu.com/ubuntu/pool/universe/w/webkitgtk/libwebkitgtk-1.0-0_2.4.11-3ubuntu3_amd64.deb http://archive.ubuntu.com/ubuntu/pool/universe/w/webkitgtk/libjavascriptcoregtk-1.0-0_2.4.11-3ubuntu3_amd64.deb
    
    #install packages
    sudo dpkg -i libicu60_60.2-3ubuntu3_amd64.deb
    sudo dpkg -i libjavascriptcoregtk-1.0-0_2.4.11-3ubuntu3_amd64.deb
    sudo dpkg -i libwebkitgtk-1.0-0_2.4.11-3ubuntu3_amd64.deb
    
    #run file
    LD_LIBRARY_PATH=$PWD/usr/lib/x86_64-linux-gnu ./bin/sdkmanager .

  • Ok, answering to myself, in case someone else has the same issue...

    Missing download button issue was solved by adding a User-Agent Switcher extension to Firefox and setting User-Agent to Android Phone / Chrome 87.

    Running sdkmanager failed due to missng dependencies (running Ubuntu 20.10), as libs libwebkitgtk-1.0, libjavascriptcoregtk-1.0 and libicu60 were not found. Searching those from Ubuntu packages repo, downloading the .deb packages and extracting (NOT installing but extracting with dpkg-deb -x) them in same directory where sdkmanager was extracted. Had to install libenchant1c2a (from 20.10) as well.

    Running with command LD_LIBRARY_PATH=$PWD/usr/lib/x86_64-linux-gnu ./bin/sdkmanager . The GUI was mostly functional and got the actual SDK downloaded. There were no indication where the SDK was loaded, but I found it at ~/.Garmin directory.