Highlighted

AIR SDK 15.0 + iOS8 - Google Analytics crashes app

New Here ,
Oct 13, 2014

Copy link to clipboard

Copied

Hi all,

Using Adobe AIR new Beta SDK 15.0.

When using google analytics for AIR :


                (analytics.swc + analytics_flash.swc)


                com.google.analytics.AnalyticsTracker   and   

                com.google.analytics.GATracker


the app crashes.


This started only after using SDK 15.0.

Using SDK 14.0 was successful.

Please advide,

All help appreciated.

Thanks, Koby.

TOPICS
Development

Views

451

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

AIR SDK 15.0 + iOS8 - Google Analytics crashes app

New Here ,
Oct 13, 2014

Copy link to clipboard

Copied

Hi all,

Using Adobe AIR new Beta SDK 15.0.

When using google analytics for AIR :


                (analytics.swc + analytics_flash.swc)


                com.google.analytics.AnalyticsTracker   and   

                com.google.analytics.GATracker


the app crashes.


This started only after using SDK 15.0.

Using SDK 14.0 was successful.

Please advide,

All help appreciated.

Thanks, Koby.

TOPICS
Development

Views

452

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 13, 2014 0
Adobe Community Professional ,
Oct 13, 2014

Copy link to clipboard

Copied

This is because GAForFlash doesn't compile correctly with the faster compiler. You have to use the slower compiler. If you're using Flash Pro you can choose that in the iOS publishing settings. If you're building with the command line you need to do -useLegacyAOT yes

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2014 0
New Here ,
Oct 13, 2014

Copy link to clipboard

Copied

Thanks Colin,

I am using FlashBuilder 4.6

Can you tell me how to use the slower compiler in this environment ?

Koby.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2014 0
Adobe Community Professional ,
Oct 13, 2014

Copy link to clipboard

Copied

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2014 0
Participant ,
Oct 13, 2014

Copy link to clipboard

Copied

To change the packing method, go to your projects run/debug's configurations -> Main.

You will find "Launch Configuration" there - then just select "Standard".

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2014 0
New Here ,
Oct 13, 2014

Copy link to clipboard

Copied

Sorry, But there is no place to add this,

The other Colin wrote this:

You can set it in Project -> Properties -> Flex Build Packaging -> Apple iOS -> Customize Launch


But I dont have it:

koby.PNG

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2014 0
Participant ,
Oct 13, 2014

Copy link to clipboard

Copied

You are looking at the wrong window.

Please check the screenshot to see how to get there.

run-configuration.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2014 0
New Here ,
Oct 13, 2014

Copy link to clipboard

Copied

I am,

Here is what I get:

koby2.PNG

And clicking this brings me exactly to the same window I placed before.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2014 0
Participant ,
Oct 13, 2014

Copy link to clipboard

Copied

You already have "Standard packing" selected, so here is how you add the -useLegacyAOT:

Project Properties -> Run/Debug Settings. Here you should be able to select your iOS launch configuration. Then click edit. Following window shows up

legacyAOT.png

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2014 0
New Here ,
Oct 13, 2014

Copy link to clipboard

Copied

I'm so sorry, buy this is what I'm trying to say!

I don't have this option anywhere !

koby3.PNG

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2014 0
Participant ,
Oct 13, 2014

Copy link to clipboard

Copied

There seems to be a difference between FB 4.6 to FB 4.7.

Can you check, if you can find the "Customize Launch Parameters" here?


[EDIT: Sorry, just saw a screenshot you posted at the top, indicating there is also no such an option!]

customLaunch.png

Other than there I wouldn't know where you could set them in FB 4.6.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Oct 13, 2014 0