Skip to main content
jg716
Inspiring
June 18, 2013
Question

Android App for Scout Profiling

  • June 18, 2013
  • 3 replies
  • 2872 views

Hi,

I have an android app developed in Flash Professional CC (AIR 3.7) - and trying to profile in Scout. 

In the ActionScript tab, there is a Data Quality warning:

The current session is running a debug SWF, so function times are not accurate.  To get better data, profile a release version of your SWF.

My question is what determines if the SWF is compiled debug or release in Flash Professional.  I am publishing the app as Device release in the AIR for Android Settings.  Am I missing a setting in the AIR for Android or Publish settings that determines this.

Thanks!

This topic has been closed for replies.

3 replies

5min
Participant
January 29, 2015

have the same problem.

(Flash Builder 4.7, Telemetry disabled)

I definitely build release version of Android, but still have warning that I run "debug SWF"

Participant
December 4, 2013

I am seeing the same behavior- a red frowny face & the same Data Quality warning upon mouseover. I'm using Scout CC on 64-bit Windows 7.

I compile my .swf's via Flash Pro CS6 and see the same behavior for Flash Player 11.9 & 12.0 (where I am creating an .apk via command-line with adt for AIR SDK 3.9 & 4.0, respectively).

I see the same result whether or not I enable Telemetry for the the .swf, which I will typically use SWFScountEnabler for: https://github.com/renaun/ActionScriptExamples/tree/master/SWFScoutEnabler

Participating Frequently
April 2, 2014

Getting the same report in Adobe Scout when running release version of Android app packaged in Intellij Idea 13.

Participant
April 4, 2014

Same here, using Intellij Idea 13.

Using "ps aux" while the .swf was being built I could verify that the compiler.debug flag is being set to false. And the adt target was ipa-test.

Finally, dumping the .swf using swftools' swfdump shows that the swf does not have the ENABLEDEBUGGER2 tag which when present indicates a debug swf:

[HEADER]        File version: 23

[HEADER]        File size: 4736075

[HEADER]        Frame rate: 60.000000

[HEADER]        Frame count: 1

[HEADER]        Movie width: 500.00

[HEADER]        Movie height: 375.00

[045]         4 FILEATTRIBUTES usenetwork as3 symbolclass

[04d]       374 METADATA

[009]         3 SETBACKGROUNDCOLOR (ff/ff/ff)

[041]         4 SCRIPTLIMITS

==== Error: Unknown tag:0x05d ====

[05d]         2 (null)

[052]   1021085 DOABC "merged", lazy load

[04b]     73637 DEFINEFONT3 defines id 0001

[049]      2093 DEFINEFONTALIGNZONES for font 0001, thin,  209 glyphs

[058]        70 DEFINEFONTNAME adds information to id 0001 "Carter One"

                Copyright (c) 2011 by vernon adams. All rights reserved.

[04b]     41916 DEFINEFONT3 defines id 0002

[049]      2123 DEFINEFONTALIGNZONES for font 0002, thin,  212 glyphs

[058]        85 DEFINEFONTNAME adds information to id 0002 "Fontdinerdotcom Huggable"

(Btw, you can see the advanced telemetry tag 0x5D in there)

Why is Scout insisting that the .swf is a debug one?

June 20, 2013

I'm unable to reproduce the issue at my end. You can check in AIR for Android Setings> Deployment, that Android deployment type is "Device release" and not Debug.

If it is device release, and you are still getting this warning, please let us know the exact method you are using to generate your swf. Are you using the "Enable Telemetry" option or are you using the python script to generate the SWF.

Please also tell the OS version, Flash Pro exact version, AIR SDK version etc. used to package SWF.

jg716
jg716Author
Inspiring
June 20, 2013

Thanks,

I will try a little more testing, but to answer your questions...

I am using Flash Pro CC on Window 64-bit and enabled Telemetry in the publish settings.  The project is AIR for Android using AIR 3.7.  The Android settings are set for a Device Release and published through Flash CC.

Participant
November 18, 2013

I have the same problem.

I am using Flash Builder 4.7 with AIR SDK 3.9

No matter what I do (export release etc) it always shows in scout as debug SWF.

Is there any way FB builds a debug swf from the 'export release' ?