1 Reply Latest reply: Mar 11, 2011 7:39 AM by Quentin T RSS

    Your licence could not be validated

    Quentin T Community Member

      Hi again,

      so I build these AIR apps server-side and then upload them to InMarket where everything looks alright.

       

      But when I launch them, here's what I get:

      Capturer.JPG

      But I am, of course, connected to the Internet.

       

      So I check the generated application key but it looks OK. And so does the generated updateConfig.xml; the URL in it works and returns a valid XML file... Except the <versionNumber> is zero. And the file linked doesn't exist...

       

      Here's the updateConfig.xml:

      <?xml version="1.0" encoding="utf-8"?>
      <configuration xmlns="http://ns.adobe.com/air/framework/update/configuration/1.0">
          <url>http://apprepo.adobe.com/apprepo/201011/updates/fr.edumedia.app.MediaWrapper.uid82-en/upda te.xml?version=2.5</url>
          <delay>1</delay>
          <defaultUI>
              <dialog name="checkForUpdate" visible="true" />
              <dialog name="downloadUpdate" visible="true" />
              <dialog name="downloadProgress" visible="true" />
              <dialog name="installUpdate" visible="true" />
              <dialog name="fileUpdate" visible="true" />
              <dialog name="unexpectedError" visible="true" />
          </defaultUI>
      </configuration>

       

      Is that zero normal?

      Did I miss something?

      Can you think of any reason why it says the licence cannot be validated?

       

      Thanks in advance!

        • 1. Re: Your licence could not be validated
          Quentin T Community Member

          OK, so I found what was wrong!

           

          First, the GUID I was generating looked OK but where not, I changed my mind and chose to manually copy/paste them from the "Get Application Key" tab, rather than trying to have a semi-random logic.

           

          Then, since I am building the apps from a command (server-side) I use a <flex-config> file. One of the setting that I missed was <static-link-runtime-shared-libraries>. For some unknown reason I set it to false, which was a bad idea, because apparently that doesn't work with licensing.swc; setting it to true fixes the error I was reporting!

           

          Very happy, now build apps with just a few clicks!