Export to store : Can't build package

Hi,

I use Connect IQ App Export Wizard to export my Watch Face. The export fails. I get the following error:



"See console for details" -> There is nothing on the console (which I understand as the right panel - it alternates between build console and execution console. There's no relevant information on any of them).

I tried with English as supported language and with no supported language.

The Build for Device Wizard works on this Watch Face, only the App Export (Package Tool to export to Connect IQ store) doesn't work.

[EDIT]
I tried exporting other smaller apps and that worked fine. The one with which I have a problem runs at ~46kB memory (RAM) and the .prg weighs 41kB.
[/EDIT]

Any idea?
Thanks!
  • Former Member
    Former Member over 9 years ago
    I don't think the memory used by the app would be a cause of the export problem. There have been intermittent issues reported with the export wizard and it's currently something we're looking at, investigation just hasn't gotten very far yet.

    You should be able to work around the issue by copying the build command printed to the Eclipse console into a command prompt and running that. Note that if your Java or Connect IQ SDK installation include spaces in the paths you will need to wrap quotes around those bits of the command.

    C:\Program Files\Java\jre1.8.0_51\bin\java -Dfile.encoding=UTF-8 ...

    would become

    "C:\Program Files\Java\jre1.8.0_51\bin\java" -Dfile.encoding=UTF-8 ...
  • I don't think the memory used by the app would be a cause of the export problem. There have been intermittent issues reported with the export wizard and it's currently something we're looking at, investigation just hasn't gotten very far yet.


    Hi Ken,

    I still get the "App Export Failed" every time when I try to export from within Eclipse.

    I frequently get a different error when I try to build for a specific device from Eclipse. If I just retry the build for device, it typically works the second time.

    I don't know if this is related to the "App Export Failed" error, but I thought it might be a clue. Here's that error message.

  • Former Member
    Former Member over 9 years ago
    I see you're building into a Google Drive folder. I have had in the past (not IQ related) that the Google Drive Sync daemon caused a file to be locked. Perhaps you could try building into a 'regular' folder?
  • I managed to build the package by reverting to SDK version 1.1.3.
  • Using SDK 1.1.3 is not useful because the app then gets rejected when trying to publish.

    It worked on first attempt when following Ken's recommendation of using command line.

    Thanks.
  • Former Member
    Former Member over 9 years ago
    Package Manager: The compiler returned an unknown exit code: 1

    I don't think the memory used by the app would be a cause of the export problem. There have been intermittent issues reported with the export wizard and it's currently something we're looking at, investigation just hasn't gotten very far yet.

    You should be able to work around the issue by copying the build command printed to the Eclipse console into a command prompt and running that. Note that if your Java or Connect IQ SDK installation include spaces in the paths you will need to wrap quotes around those bits of the command.

    C:\Program Files\Java\jre1.8.0_51\bin\java -Dfile.encoding=UTF-8 ...

    would become

    "C:\Program Files\Java\jre1.8.0_51\bin\java" -Dfile.encoding=UTF-8 ...


    Thx!! :) :D

    Problem with eclipse too. Could not get a file size over 46kb, so when I added the 630, 235 & 230 I got error: Package Manager: The compiler returned an unknown exit code: 1 . And if I wanted to use all the forerunner models, I had to remove fenix and epix. Like you said, remember to use """""""""" in cmd!