• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

AIR SDK 15.0 + iOS8 - Google Analytics crashes app

New Here ,
Oct 13, 2014 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

637

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
community guidelines
LEGEND ,
Oct 13, 2014 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

Votes

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
community guidelines
New Here ,
Oct 13, 2014 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.

Votes

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
community guidelines
LEGEND ,
Oct 13, 2014 Oct 13, 2014

Copy link to clipboard

Copied

Votes

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
community guidelines
New Here ,
Oct 13, 2014 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

Votes

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
community guidelines
Participant ,
Oct 13, 2014 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

Votes

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
community guidelines
New Here ,
Oct 13, 2014 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.

Votes

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
community guidelines
Participant ,
Oct 13, 2014 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

Votes

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
community guidelines
New Here ,
Oct 13, 2014 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

Votes

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
community guidelines
Participant ,
Oct 13, 2014 Oct 13, 2014

Copy link to clipboard

Copied

LATEST

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.

Votes

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
community guidelines
Participant ,
Oct 13, 2014 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".

Votes

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
community guidelines