-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Closed
Labels
engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specificallyt: gradle"flutter build" and "flutter run" on Android"flutter build" and "flutter run" on Android
Description
These are the current Engine artifacts for Android:
├── android-arm
│ └── flutter.jar
├── android-arm-profile
│ ├── darwin-x64
│ │ └── gen_snapshot
│ └── flutter.jar
├── android-arm-release
│ ├── darwin-x64
│ │ └── gen_snapshot
│ └── flutter.jar
├── android-arm64
│ └── flutter.jar
├── android-arm64-profile
│ ├── darwin-x64
│ │ └── gen_snapshot
│ └── flutter.jar
├── android-arm64-release
│ ├── darwin-x64
│ │ └── gen_snapshot
│ └── flutter.jar
├── android-x64
│ ├── flutter.jar
│ └── libflutter.so
├── android-x86
│ ├── flutter.jar
│ └── libflutter.so
Once Flutter starts generating 32 and 64 bits in app bundles, these artifacts are better structured this way:
├── android
│ └── flutter.jar // <-- io.flutter .class
├── android-arm-release
│ ├── darwin-x64
│ │ └── gen_snapshot
│ └── libflutter.so
├── android-arm64
│ └── libflutter.so
├── android-arm64-profile
│ ├── darwin-x64
│ │ └── gen_snapshot
│ └── libflutter.so
├── android-arm64-release
│ ├── darwin-x64
│ │ └── gen_snapshot
│ └── libflutter.so
├── android-x64
│ └── libflutter.so
├── android-x86
│ └── libflutter.so
Note that libflutter.so is already outside flutter.jar in x64 and x86.
This change will:
- Reduce the size of the artifacts downloaded from Google CDN.
- Simplify the Gradle build script and potentially make the build faster.
Metadata
Metadata
Assignees
Labels
engineflutter/engine related. See also e: labels.flutter/engine related. See also e: labels.platform-androidAndroid applications specificallyAndroid applications specificallyt: gradle"flutter build" and "flutter run" on Android"flutter build" and "flutter run" on Android