Repository: flutter
Issue: [Android][Bluebird EF500] - Crash during build on ARM64, works fine when started afterward 
Labels: e: device-specific,platform-android,engine,P2,c: fatal crash,team-android,triaged-android

The app crashes when built, then it works properly when started from the phone's launcher.  
Was detected on a specific device (Bluebird EF500) running on ARM64, Android 5.1.

## Steps to Reproduce

<!-- You must include full steps to reproduce so that we can reproduce the problem. -->

1. Create a new project with flutter 2.2.2
2. Build the app 
3. Run it on the specific device (Bluebird EF500, ARM64, Android 5.1)

**Actual results:** <!-- what did you see? -->

Crash even before the startup of the app.  
BUT, after this crash, when clicking on the app icon's on the phone it works properly.

Tested with flutter 2.2.2 and 2.4.0-4.2.pre.  

<details>
  <summary>Logs</summary>

<!--
      Run your application with `flutter run --verbose` and attach all the
      log output below between the lines with the backticks. If there is an
      exception, please see if the error message includes enough information
      to explain how to solve the issue.
-->

```
08-04 10:34:49.741 294-294/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-04 10:34:49.741 294-294/? I/DEBUG: Build fingerprint: 'Bluebird/EF500/EF500:5.1.1/LMY47V/BB_R1.04:user/release-keys'
08-04 10:34:49.741 294-294/? I/DEBUG: Revision: '0'
08-04 10:34:49.742 294-294/? I/DEBUG: ABI: 'arm64'
08-04 10:34:49.742 294-294/? I/DEBUG: pid: 18768, tid: 18768, name: example.sfsddfs  >>> com.example.sfsddfs <<<
08-04 10:34:49.742 294-294/? I/DEBUG: signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7f7be5fbe0
08-04 10:34:49.749 294-294/? I/DEBUG:     x0   0000007f66646f48  x1   0000007f66579000  x2   0000007f7be60e20  x3   0000007fe5332990
08-04 10:34:49.749 294-294/? I/DEBUG:     x4   0000000000000006  x5   0000000000000010  x6   0000007fe5332958  x7   00000000fffffff8
08-04 10:34:49.749 294-294/? I/DEBUG:     x8   0000000000000000  x9   00000000000000ff  x10  00000000000000ff  x11  0000000000000028
08-04 10:34:49.749 294-294/? I/DEBUG:     x12  0000000000000000  x13  0000000000000200  x14  0000000000000040  x15  003b9aca00000000
08-04 10:34:49.749 294-294/? I/DEBUG:     x16  0000007f66579278  x17  0000007f7bb96cb0  x18  0000000000000000  x19  0000007fe53329c0
08-04 10:34:49.749 294-294/? I/DEBUG:     x20  0000007f7be60e20  x21  0000007fe5332b08  x22  0000007fe53329c0  x23  0000007f6651c990
08-04 10:34:49.749 294-294/? I/DEBUG:     x24  0000000000000020  x25  0000000000000000  x26  0000000000000001  x27  0000007f654c0be0
08-04 10:34:49.749 294-294/? I/DEBUG:     x28  00000055a0d0f760  x29  0000007f7be61ff0  x30  0000007f663133d4
08-04 10:34:49.749 294-294/? I/DEBUG:     sp   0000007f7be5fc20  pc   0000007f664e1018  pstate 0000000060000000
08-04 10:34:49.749 294-294/? I/DEBUG: backtrace:
08-04 10:34:49.749 294-294/? I/DEBUG:     #00 pc 0000000000730018  /data/app/com.example.sfsddfs-1/lib/arm64/libflutter.so
08-04 10:34:49.749 294-294/? I/DEBUG:     #01 pc 00000000005623d0  /data/app/com.example.sfsddfs-1/lib/arm64/libflutter.so
08-04 10:34:50.094 294-294/? I/DEBUG: Tombstone written to: /data/tombstones/tombstone_01
```

flutter doctor -v 
<!-- Finally, paste the output of running `flutter doctor -v` here. -->

```
[✓] Flutter (Channel unknown, 2.2.2, on macOS 11.1 20C69 darwin-x64, locale fr-FR)
    • Flutter version 2.2.2 at /Users/fduhen/fvm/versions/2.2.2
    • Framework revision d79295af24 (8 weeks ago), 2021-06-11 08:56:01 -0700
    • Engine revision 91c9fc8fe0
    • Dart version 2.13.3

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /Users/fduhen/Library/Android/sdk/
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /Users/fduhen/Library/Android/sdk/
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    ! Some Android licenses not accepted.  To resolve this, run: flutter doctor --android-licenses

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.5.1, Build version 12E507
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Ultimate Edition (version 2021.1.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.58.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.24.0
```

Phone CPU details : 
```
Processor	: AArch64 Processor rev 0 (aarch64)
processor	: 0
processor	: 1
processor	: 2
processor	: 3
Features	: fp asimd evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 0

Hardware	: Qualcomm Technologies, Inc MSM8916
```
</details>  

Can reproduce easily on my side, on multiple devices (tested on 3 differents EF500).
Feel free to ask for any specific informations, I don't have the knowledge to dig more in depth and troubleshoot this.