• 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 21/22 Android startup crashes

Contributor ,
Jul 22, 2016 Jul 22, 2016

Copy link to clipboard

Copied

We're seeing a large number of crashes soon (2-5 seconds) after startup when building our app with AIR SDK v22. It doesn't happen on all devices or Android versions, and it doesn't happen every time, but we're able to reproduce the issue 30-50% of the time when starting the app on a Galaxy S6 test device. Edit: When I put the Galaxy S6 phone in power saving mode and disconnect the USB cable, the issue is reproducible 100% of the time.

We've tested with AIR SDK v21 and see the same behavior, but not with v20. Additionally, building the app in "cpu" renderMode (normally we use "direct") seems to improve the issue when NOT in power-saving mode, on v21/22. Unfortunately that mode doesn't perform well enough on lower-spec devices for us to release to all users. We've tried compiling the app in "gpu" renderMode and the issue occurs just as frequently.

These "crashes" are not ANRs, there is no popup telling the user the app isn't responding or has died, and they are not reported in the Google Play console. The app simply exits. In logcat we see nothing consistently happening right before the app quits, and also, surprisingly, absolutely no error messages -  just a couple of INFO logs that the app has died. We've tried using the AS3 trace utility to trace all functions executed, and there isn't any correlation with any particular function being called at the time.

- Is anyone else out there seeing anything like this on Android with AIR SDK versions 21+ but not with v20?

- Did anything change in v21 that might explain why this happens [edit] more frequently in "direct" and "gpu" renderModes than "cpu"?

- [Added] Did anything change in v21 that might explain why this happens in low-power mode with v21/22 but not v20?

- Are there any cases in which the Android version of the AIR runtime actively exits the main activity on purpose?

- Would it be possible for Adobe to release a version of AIR SDK v20 with OpenSSL updated to comply with Google Play's requirements in the meantime?

Thanks for any help you can provide.

TOPICS
Air beta

Views

526

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
Contributor ,
Jul 29, 2016 Jul 29, 2016

Copy link to clipboard

Copied

LATEST

Wow! Tumbleweeds.

In any case, the issue seems to be 'fixed' in the recently-released v23 beta. So.. thanks?

¯\_(ツ)_/¯

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