Skip to main content
Participating Frequently
February 17, 2016
Question

Air SDK 20 app crashes on Android 6

  • February 17, 2016
  • 2 replies
  • 1772 views

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.

This topic has been closed for replies.

2 replies

Shweta_B
Adobe Employee
Adobe Employee
February 23, 2016

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

4xyfenixAuthor
Participating Frequently
February 24, 2016

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.

4xyfenixAuthor
Participating Frequently
February 29, 2016

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.

Participant
February 20, 2016

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 ?