Skip to content

flutter build appbundle --release is missing x86 and x86_64 libflutter.so files #29303

@Winner28

Description

@Winner28

Steps to reproduce

  1. Create a new Flutter app
  2. Build release app bundle: flutter build appbundle --release
  3. Build debug app bundle: flutter build appbundle --debug
  4. Unzip release/app.aab: unzip -l build/app/outputs/bundle/release/app.aab | grep lib/
  5. Unzip debug/app.aab: unzip -l build/app/outputs/bundle/debug/app.aab | grep lib/

Logs

Inside of debug/app.aab:

base/lib/armeabi-v7a/libflutter.so
base/lib/x86/libflutter.so
base/lib/x86_64/libflutter.so

Inside of release/app.aab:

base/lib/armeabi-v7a/libflutter.so

1 . We expect to see .so files for all platforms.
2 . Content of debug/app.aab and release/app.aab are different.

flutter analyze reports zero issue.

flutter doctor -v:

[✓] Flutter (Channel stable, v1.2.1, on Mac OS X 10.14.3
    18D109, locale ru-RU)
    • Flutter version 1.2.1 at
      /usr/local/Cellar/flutter/1.0.0
    • Framework revision 8661d8aecd (4 weeks ago),
      2019-02-14 19:19:53 -0800
    • Engine revision 3757390fa4
    • Dart version 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

[✓] Android toolchain - develop for Android devices
    (Android SDK version 28.0.3)
    • Android SDK at
      /Users/bagdeyvgmail.com/Library/Android/sdk
    • Android NDK at
      /Users/bagdeyvgmail.com/Library/Android/sdk/ndk-bundl
      e
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1136-b06)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.1, Build version 10B61
    • ios-deploy 1.9.4
    • CocoaPods version 1.5.3

[✓] Android Studio (version 3.2)
    • Android Studio at /Applications/Android
      Studio.app/Contents
    • Flutter plugin version 31.3.1
    • Dart plugin version 181.5656
    • Java version OpenJDK Runtime Environment (build
      1.8.0_152-release-1136-b06)

[✓] IntelliJ IDEA Ultimate Edition (version 2018.3.2)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 31.3.4
    • Dart plugin version 183.4886.3

[✓] Connected device (1 available)
    • iPhone XR • 36324ACA-876E-4EDC-8DB6-6E0024AD2A59 •
      ios • iOS 12.1 (simulator)

• No issues found!

1 . We expect to see .so files for all platforms.
2 . Content of debug/app.aab and release/app.aab are different.

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform-androidAndroid applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions