Skip to content

[cronet_http] Crash occurring on 32bit android devices since version 1.2.1 #1213

@veloce

Description

@veloce

Using the official example, I consistently reproduce a crash when launching the application on a Samsung Galaxy A11 running on android 10 (using Browserstack App Live).

I'm building the application using flutter main channel.

Here are the logs:

05-28 10:47:48.334 E/FlutterLoader(22190): java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException: Could not load libflutter.so this is possibly because the application is running on an architecture that Flutter Android does not support (e.g. x86) see https://docs.flutter.dev/deployment/android#what-are-the-supported-target-architectures for more detail.

05-28 10:47:48.340 E/AndroidRuntime(22190): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.cronet_crash_demo/com.example.cronet_crash_demo.MainActivity}: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException: Could not load libflutter.so this is possibly because the application is running on an architecture that Flutter Android does not support (e.g. x86) see https://docs.flutter.dev/deployment/android#what-are-the-supported-target-architectures for more detail.

05-28 10:47:48.340 E/AndroidRuntime(22190): Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException: Could not load libflutter.so this is possibly because the application is running on an architecture that Flutter Android does not support (e.g. x86) see https://docs.flutter.dev/deployment/android#what-are-the-supported-target-architectures for more detail.

05-28 10:47:48.340 E/AndroidRuntime(22190): Caused by: java.util.concurrent.ExecutionException: java.lang.UnsupportedOperationException: Could not load libflutter.so this is possibly because the application is running on an architecture that Flutter Android does not support (e.g. x86) see https://docs.flutter.dev/deployment/android#what-are-the-supported-target-architectures for more detail.

The application runs fine on the same device with cronet_http version 1.2.0.

I cannot ascertain it, but based on crash reports in my application it looks like these also suffer from the crash (and probably others):

  • ZTE Blade A31
  • Galaxy A01 Core

Metadata

Metadata

Assignees

Labels

package:cronet_httptype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions