Unknown configuration error for "advanced-telemetry" variable

I am trying to use Scout with my Flex project and for this I heard that you add advanced telemetry to the compiler arguments. When I do that, I get this error:

Unknown configuration error for variable 'advanced-telemetry'

Am I doing this right or am I missing something?

+3


source to share


5 answers


I found that I can add extended telemetry after the fact using the Scout Enabler tool .

Testing Browser Based Application:

  • After compiling the SWF into a release build, I pulled it out of the project's release folder and dropped it onto the Scout Enabler. The Scout developer provided a message stating that it was successfully converted. NOTE. Scout Enabler will add a prefix or suffix, and if the HTML page you are using does not link to the project-suffix.swf file then it will not load. I just leave the suffix text box blank, so my project SWF is always myProject.swf (not myProject-scout.swf).
  • Open Scout if not already open.
  • Load the SWF into the browser (or actually the HTML wrapper page that loads your swf).
  • Go back to the scout and you will see that he is on.


Additional Information

Note. It does not work with the iOS simulator, but does work with the AIR simulator.

UPDATE:
As others have pointed out, it now works with Apache Flex release 4.10 and newer, but has issues . Workarounds in other answers.

+4


source


Quoted from adobe docs ; "advanced telemetry options are only available for ActionScript projects and ActionScript Mobile projects that use the ActionScript 2.0 (ASC 2.0) compiler"

The ASC 2.0 compiler is included in the latest AIR SDKs (since 3.4, I guess?) - if you overlay the latest AIR SDK (3.6) on the flex sdk, you can use advanced telemetry in AS3-only projects.



Unfortunately ASC 2.0 doesn't work with MXML (yet), so we're stuck.

+4


source


If you are trying to use FlashBuilder with Flex to create an AIR desktop package, you will get this error because the Flex compiler is older and does not know about extended telemetry. The problem is that you need to package the SWF into an AIR file so that you need to get the SWF after it is created, but before it is packaged. Here's a trick for that.

When you export the release build, keep going through the dialogs, but before you click finish in the last dialog, find the bin-release-temp folder in your project and use SWFScoutEnabler to add advanced telemetry to swf in that folder. Then click Finish and you will have an AIR package with SWF included with Scout.

+3


source


Advanced telemetry support was added in Apache Flex 4.10.

+2


source


Adding a compiler option -advanced-telemetry

to Flash Builder (Bungler?) Gave me two weird problems.

  • When exporting a release assembly, I get this error: "Flash Builder was unable to publish project source: null"
  • Code hints, schematic view, stop working immediately.

The only solution I could find was Grants working to allow extended telemetry in swfs in bin-debug and bin-release-temp before packing it into ipa file.

+1


source







All Articles