• 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 20 app crashes on Android 6

New Here ,
Feb 17, 2016 Feb 17, 2016

Copy link to clipboard

Copied

Hi,

I have an app that is built and linked against Air SDK 20. It works on Anrdoid 4.2.2, 5.1.1, but on 6.0 crashes on start.

I just see how it opens the window, the client code is not executed yet as I think.

The debugger out is really short:

-----------------------------------------------------------

Adobe fdb (Flash Player Debugger) [build development]

Copyright (c) 2004-2007 Adobe, Inc. All rights reserved.

Waiting for Player to connect

Player connected; session starting.

Player session terminated <-- crash

-----------------------------------------------------------

The example is available here http://www.fileconvoy.com/dfl.php?id=g859d0aef5479c5a7999789062dd3783334c895c10

The .apk is under ./target subfolder of package root.

TOPICS
Performance issues

Views

1.5K

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 ,
Feb 20, 2016 Feb 20, 2016

Copy link to clipboard

Copied

We have the same issue with Nexus 9 running Android 6.0 and AIR 20.0.0.233
Any ideas how to fix?

Have anyone succeed in running Flex App build with AIR 20 SDK on Android 6.0 ?

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
Adobe Employee ,
Feb 23, 2016 Feb 23, 2016

Copy link to clipboard

Copied

Hi,

Thanks for the report.

We tried reproducing the issue at our end as well with the attached .apk in the project given by you.

Crash was reproducible on Nexus 9 (Android 6.0) but was not reproducible with on Nexus 5 (Android 6.0).

Moreover, with the help of project provided by you above, we created a flash builder project and were not able to reproduce the issue on Android 6 (Nexus 9 and Nexus 5 both). AIR SDK used 20.0.0.233.

Kindly refer the attached project for reference. Link: https://www.dropbox.com/s/tmh16esgd43wt50/FlexCrashOnAIR20.fxp?dl=0

Please try reproducing the issue at your end with the above project and let us know in case you face any problem.

Regards,

Adobe AIR Team

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 ,
Feb 24, 2016 Feb 24, 2016

Copy link to clipboard

Copied

Yes it crashes on Nexus 9 on Android 6.0.1 (before update it was 6.0) with AIR 20.0.0.233.

I use maven, flexmojos plugin and adt to compile the app and build package. I think that the compiler config is essential in this case.

You can also find it in .zip file http://www.fileconvoy.com/dfl.php?id=g859d0aef5479c5a7999789062dd3783334c895c10 under the /target directory (example-apk-release-configs.xml). Unfortunately, I have no flash builder, but I'll download trial to try to build the app.

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 ,
Feb 29, 2016 Feb 29, 2016

Copy link to clipboard

Copied

Hi,

The app you provided and built via Flash Builder 4.7 works fine.

I can't find the compiler-config.xml generated by flash builder. Where can I find it?

I use the compiler config available in Flex SDK (<SDK_ROOT>/frameworks/airmobile-config.xml). To create .apk I use the adt tool.

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
Adobe Employee ,
Mar 01, 2016 Mar 01, 2016

Copy link to clipboard

Copied

Hi 4xyfenix

If you want to dump the config xml generated by the Flash Builder. Please follow the following steps:

  1. In Flash Builder, select Project > Properties > Flex Compiler
  2. In Additional Compiler Arguments, specify the following argument:-dump-config pathname, where pathname specifies the absolute path to a file on your system.

I think this will help you:  Adobe Flash Builder 4.7 * Build projects

-Roshan

Adobe AIR

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 ,
Mar 10, 2016 Mar 10, 2016

Copy link to clipboard

Copied

Hi again,

Eventually, I found out that the problem is in the way the .apk is built. Unfortunately, I still don't realize what the exact reason of .apk crash is.

I took the .swf file produced by Flash Builder and packed it as I do when pack my app by using ADT:

adt -package -target apk -storetype pkcs12 -keystore ./cert.p12 -storepass password ./target/example-apk-release.apk ./target/classes/example-app.xml -C ./target example-apk-release.swf -C ./target/classes icons

The .apk I get crashes on Android 6.0.1. So, It seems to produce the issue it's just needed to pack arbitrary .swf application via ADT as specified above.

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
Adobe Employee ,
Mar 11, 2016 Mar 11, 2016

Copy link to clipboard

Copied

LATEST

Hi,

We are able to reproduce this issue at our end. We have logged the internal bug for that and will revert back to you once it get fixed.

Thanks,

Adobe AIR Team

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