watchface It works on Garmin and simulator but does not generate the file IQ

Former Member
Former Member
It is the second time I do watch face . Only now it is not generating the file that I send to the Garmin store.
Generates the file to the Garmin. I put on my 920 and it works all right .
Attached full file watch face.

Please someone help me identify what 's wrong?
  • With Eclipse, are you using "Connect IQ>App Export Wizard" to build the .iq file? That's what you upload to the app store.
  • Former Member
    Former Member over 9 years ago
    problem with generate IQ

    I know how. But when I do that it is not generated IQ file. He says there is an error and does not generate the file.:mad:
  • The eclipse console should tell you about the error. What version of the SDK and Eclipse Plugin are you running?
  • Former Member
    Former Member over 9 years ago
    Console

    Console:
    ======================================================
    BUILD: C:\Program Files\Java\jre1.8.0_77\bin\java -Dfile.encoding=UTF-8 -Dapple.awt.UIElement=true -classpath C:\Program Files\Java\jre1.8.0_77\lib\tools.jar;C:\Users\Priscila\workspace\connectiq-sdk-win-1.2.1\bin\monkeybrains.jar; com.garmin.monkeybrains.Monkeybrains -e -a C:\Users\Priscila\workspace\connectiq-sdk-win-1.2.1\bin\api.db -i C:\Users\Priscila\workspace\connectiq-sdk-win-1.2.1\bin\api.debug.xml -o C:\Users\Priscila\workspace\CPH_BRASIL\CPHGarmin.iq -z C:\Users\Priscila\workspace\CPHGarmin\resources\bitmaps.xml;C:\Users\Priscila\workspace\CPHGarmin\resources\drawables\verdeH.xml;C:\Users\Priscila\workspace\CPHGarmin\resources\layouts\layout.xml;C:\Users\Priscila\workspace\CPHGarmin\resources\strings\strings.xml -m C:\Users\Priscila\workspace\CPHGarmin\manifest.xml -u C:\Users\Priscila\workspace\connectiq-sdk-win-1.2.1\bin\devices.xml -p C:\Users\Priscila\workspace\connectiq-sdk-win-1.2.1\bin\projectInfo.xml C:\Users\Priscila\workspace\CPHGarmin\source\CPHGarminView.mc C:\Users\Priscila\workspace\CPHGarmin\source\CPHGarminApp.mc
    BUILD: Complete
    Package Manager: The compiler returned an unknown exit code: 1
    ======================================================
    BUILD: C:\Program Files\Java\jre1.8.0_77\bin\java -Dfile.encoding=UTF-8 -Dapple.awt.UIElement=true -classpath C:\Program Files\Java\jre1.8.0_77\lib\tools.jar;C:\Users\Priscila\workspace\connectiq-sdk-win-1.2.1\bin\monkeybrains.jar; com.garmin.monkeybrains.Monkeybrains -a C:\Users\Priscila\workspace\connectiq-sdk-win-1.2.1\bin\api.db -i C:\Users\Priscila\workspace\connectiq-sdk-win-1.2.1\bin\api.debug.xml -o C:\Users\Priscila\workspace\CPHGarmin\bin\CPHGarmin.prg -z C:\Users\Priscila\workspace\CPHGarmin\resources\bitmaps.xml;C:\Users\Priscila\workspace\CPHGarmin\resources\drawables\verdeH.xml;C:\Users\Priscila\workspace\CPHGarmin\resources\layouts\layout.xml;C:\Users\Priscila\workspace\CPHGarmin\resources\strings\strings.xml -m C:\Users\Priscila\workspace\CPHGarmin\manifest.xml -u C:\Users\Priscila\workspace\connectiq-sdk-win-1.2.1\bin\devices.xml -p C:\Users\Priscila\workspace\connectiq-sdk-win-1.2.1\bin\projectInfo.xml C:\Users\Priscila\workspace\CPHGarmin\source\CPHGarminView.mc C:\Users\Priscila\workspace\CPHGarmin\source\CPHGarminApp.mc
    BUILD: Complete
    :confused:
  • Former Member
    Former Member over 9 years ago
    Sdk

    connectiq-sdk-win-1.2.1:(
  • Former Member
    Former Member over 9 years ago
    Eclipse

    Eclipse IDE for Java Developers

    Version: Mars.1 Release (4.5.1)
    Build id: 20150924-1200
  • I think you're seeing a problem that many people encountered in the past with the builder, which was fixed in version 1.2.2. I'd recommend that you update to the latest SDK, version 1.2.6, but to address this you must at least update to version 1.2.2. Once you've updated, go to Window > Preferences > Connect IQ > Compiler in Eclipse, and make sure that 'Builder 2' is selected.
  • I'd also make sure to update to the latest Eclipse CIQ Plugin.

    In Eclipse, go to "help>check for updates". This is separate from the SDK update, but is also 1.2.6.
  • Former Member
    Former Member over 9 years ago
    Thank you!!!

    Thank you! It worked , it was the same problem .