Skip to content

App startup crash on android arm device #47819

Description

@adhil-azeez

Hi, I'm upgraded the flutter to latest version v1.12.13+hotfix.5. After that every app crash on start up on real device and emulator of android_arm architecture. I tried on another PC of Macbook and the same issue happened.

I tried to the release apks and fat apk and the issue was still there. I also switched to dev channel and the issue happened for all projects. And add the ndk.abiFilters 'armeabi-v7a','arm64-v8a','x86','x86_64' in gradle, but it didn't solved.

Steps to Reproduce

  1. Run command flutter create foo
  2. Run command cd foo
  3. Connect the android_arm device/emulator
  4. Run command flutter run

Logs

There isn't any log produced by flutter terminal instead of showing the below

Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=com.example.foo/.MainActivity (has extras) }

Waiting for observatory port to be available

But the android logcat returns the below informations after opening the app and crashed on white screen.

> 12-26 18:50:51.436 8354-8354/com.example.foo E/Dart: ../../third_party/dart/runtime/vm/cpu_arm.cc: 181: error: Unrecognized ARM CPU architecture.
12-26 18:50:51.436 8354-8354/com.example.foo E/DartVM: version=2.7.0 (Mon Dec 2 20:10:59 2019 +0100) on "android_arm"
    thread=8354, isolate=vm-isolate(0xaba037f0)
12-26 18:50:51.436 8354-8354/com.example.foo E/DartVM:   pc 0x54d0ffcd fp 0xff903ab8 libflutter.so+0x1321fcd
12-26 18:50:51.436 8354-8354/com.example.foo E/DartVM: -- End of DumpStackTrace
12-26 18:50:51.436 8354-8354/com.example.foo A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 8354 (com.example.foo)
......

> 12-26 18:50:52.116 3121-8263/? E/WindowState: getStack: Window{1e48a1b3 u0 Starting com.example.foo} couldn't find taskId=57 Callers=com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:10210 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:9169 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLocked:9111 com.android.server.wm.WindowManagerService.executeAppTransition:4287 
12-26 18:50:52.116 3121-8263/? E/WindowState: getStack: Window{1e48a1b3 u0 Starting com.example.foo} couldn't find taskId=57 Callers=com.android.server.wm.WindowState.getDisplayContent:804 com.android.server.wm.WindowStateAnimator.updateSurfaceWindowCrop:1339 com.android.server.wm.WindowStateAnimator.setSurfaceBoundariesLocked:1532 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:10298 
12-26 18:50:52.116 3121-8263/? E/WindowState: getStack: Window{1e48a1b3 u0 Starting com.example.foo} couldn't find taskId=57 Callers=com.android.server.wm.WindowState.getDisplayContent:804 com.android.server.wm.WindowState.isDefaultDisplay:1331 com.android.server.wm.WindowStateAnimator.updateSurfaceWindowCrop:1349 com.android.server.wm.WindowStateAnimator.setSurfaceBoundariesLocked:1532 
12-26 18:50:52.116 3121-8263/? E/WindowState: getStack: Window{1e48a1b3 u0 Starting com.example.foo} couldn't find taskId=57 Callers=com.android.server.wm.WindowState.getDisplayContent:804 com.android.server.wm.WindowState.getDisplayId:809 com.android.server.wm.InputMonitor.updateInputWindowsLw:294 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:10549 
......

> 12-26 18:50:52.126 3121-8263/? E/WindowState: getStack: Window{1e48a1b3 u0 Starting com.example.foo} couldn't find taskId=57 Callers=com.android.server.wm.DisplayContent.setTouchExcludeRegion:237 com.android.server.wm.WindowManagerService.setFocusedStackFrame:4116 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedInner:10631 com.android.server.wm.WindowManagerService.performLayoutAndPlaceSurfacesLockedLoop:9169 

flutter doctor -v

> [√] Flutter (Channel stable, v1.12.13+hotfix.5, on Microsoft Windows [Version 10.0.18362.535], locale en-IN)
    • Flutter version 1.12.13+hotfix.5 at C:\flutter
    • Framework revision 27321ebbad (2 weeks ago), 2019-12-10 18:15:01 -0800
    • Engine revision 2994f7e1e6
    • Dart version 2.7.0


> [√] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at C:\Users\Unicom\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)
    • All Android licenses accepted.

> [√] Android Studio (version 3.5)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 42.1.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b03)

> [√] VS Code (version 1.41.0)
    • VS Code at C:\Users\Unicom\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.7.1

> [√] Connected device (1 available)
    • SM G531F • 42003823dab65200 • android-arm • Android 5.1.1 (API 22)

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: crashStack traces logged to the consoledependency: androidAndroid team may need to help usframeworkflutter/packages/flutter repository. See also f: labels.platform-androidAndroid applications specifically

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions