Skip to main content
Douglas McCarroll
Inspiring
May 20, 2020
Question

AIR (SDK 33) Apps Crashing on Google Pixel 3 XL, Google Pixel 4 XL, Samsung Galaxy S10e

  • May 20, 2020
  • 0 replies
  • 306 views

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-display-size-set-larger

Thoughts?

Douglas

    This topic has been closed for replies.