• 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 33) Apps Crashing on Google Pixel 3 XL, Google Pixel 4 XL, Samsung Galaxy S10e

Contributor ,
May 20, 2020 May 20, 2020

Copy link to clipboard

Copied

Hi All,

When I deploy my app to a Pixel 3, Pixel 4, Galaxy 10 or Galaxy 10+ device it works fine.

But when I deploy it to a Pixel 3 XL, Pixel 4 XL or Galaxy S10e device it crashes immediately at startup.

I'm using the AWS Device Farm for my testing, and am using the 33.1.1.98 AIR SDK.

I've tested this with a minimal "hello world" app and the same thing happens. This app has no ANEs and does little more than display text.

Here's the minimal app: http://brightworks.com/downloads/MinimalDemoApp.zip

Here are the relevant parts of the logs: http://brightworks.com/downloads/Log_App_Crash_Pixel3XL_Pixel4XL.txt

Here are a few snippets from the logs:

  • "java.lang.RuntimeException: Canvas: trying to draw too large(134374464bytes) bitmap."
  • "FATAL EXCEPTION: main"
  • "Shutting down VM"
  • "AIR - removing splash screen"

I suspect that the problem has to do with the splash screen(s) that AIR is including in the APK.

I've done a fair amount of googling and haven't been able to find anything that relates to AIR.

This thread, for native Android devs, may provide some clues but I don't know how to interpret this info: https://stackoverflow.com/questions/39111248/canvas-trying-to-draw-too-large-bitmap-when-android-n-d...

Thoughts?

Douglas

Views

234

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