Skip to content

Instantly share code, notes, and snippets.

@jonahwilliams
Created November 10, 2019 02:43
Show Gist options
  • Save jonahwilliams/24aa5cf2544fd46e36a9b69a78d26ff4 to your computer and use it in GitHub Desktop.
Save jonahwilliams/24aa5cf2544fd46e36a9b69a78d26ff4 to your computer and use it in GitHub Desktop.
Updates to flutter gradle
Removed unused resources: Binary resource data reduced from 96KB to 56KB: Removed 40%
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 63.8s
✓ Built build/app/outputs/apk/release/app-release.apk (43.5MB).
jonahwilliams-macbookpro2:flutter_gallery jonahwilliams$ flutter build apk
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
To generate an app bundle, run:
flutter build appbundle --target-platform android-arm,android-arm64,android-x64
Learn more on: https://developer.android.com/guide/app-bundle
To split the APKs per ABI, run:
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
Learn more on: https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 5.4s
✓ Built build/app/outputs/apk/release/app-release.apk (43.5MB).
jonahwilliams-macbookpro2:flutter_gallery jonahwilliams$
jonahwilliams-macbookpro2:flutter_gallery jonahwilliams$ flutter build apk
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
To generate an app bundle, run:
flutter build appbundle --target-platform android-arm,android-arm64,android-x64
Learn more on: https://developer.android.com/guide/app-bundle
To split the APKs per ABI, run:
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
Learn more on: https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 1.9s
✓ Built build/app/outputs/apk/release/app-release.apk (43.5MB).
jonahwilliams-macbookpro2:flutter_gallery jonahwilliams$ vim lib/main.dart
jonahwilliams-macbookpro2:flutter_gallery jonahwilliams$ flutter build apk
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
To generate an app bundle, run:
flutter build appbundle --target-platform android-arm,android-arm64,android-x64
Learn more on: https://developer.android.com/guide/app-bundle
To split the APKs per ABI, run:
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
Learn more on: https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 51.7s
✓ Built build/app/outputs/apk/release/app-release.apk (43.5MB).
jonahwilliams-macbookpro2:flutter_gallery jonahwilliams$ flutter build apk
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
To generate an app bundle, run:
flutter build appbundle --target-platform android-arm,android-arm64,android-x64
Learn more on: https://developer.android.com/guide/app-bundle
To split the APKs per ABI, run:
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
Learn more on: https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 1.9s
✓ Built build/app/outputs/apk/release/app-release.apk (43.5MB).
jonahwilliams-macbookpro2:flutter_gallery jonahwilliams$ git status
jonahwilliams-macbookpro2:flutter_gallery jonahwilliams$ flutter build apk
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
To generate an app bundle, run:
flutter build appbundle --target-platform android-arm,android-arm64,android-x64
Learn more on: https://developer.android.com/guide/app-bundle
To split the APKs per ABI, run:
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
Learn more on: https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Running Gradle task 'assembleRelease'...
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/jonahwilliams/.pub-cache/hosted/pub.dartlang.org/device_info-0.4.1+1/android/src/main/java/io/flutter/plugins/deviceinfo/DeviceInfoPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Removed unused resources: Binary resource data reduced from 96KB to 56KB: Removed 40%
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 139.5s (!)
✓ Built build/app/outputs/apk/release/app-release.apk (53.5MB).
jonahwilliams-macbookpro2:flutter_gallery jonahwilliams$ flutter build apk
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
To generate an app bundle, run:
flutter build appbundle --target-platform android-arm,android-arm64,android-x64
Learn more on: https://developer.android.com/guide/app-bundle
To split the APKs per ABI, run:
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
Learn more on: https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 10.5s
✓ Built build/app/outputs/apk/release/app-release.apk (53.5MB).
jonahwilliams-macbookpro2:flutter_gallery jonahwilliams$ vim lib/main.dart
jonahwilliams-macbookpro2:flutter_gallery jonahwilliams$ flutter build apk
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
To generate an app bundle, run:
flutter build appbundle --target-platform android-arm,android-arm64,android-x64
Learn more on: https://developer.android.com/guide/app-bundle
To split the APKs per ABI, run:
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
Learn more on: https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 137.2s (!)
✓ Built build/app/outputs/apk/release/app-release.apk (53.5MB).
jonahwilliams-macbookpro2:flutter_gallery jonahwilliams$ flutter build apk
You are building a fat APK that includes binaries for android-arm, android-arm64, android-x64.
If you are deploying the app to the Play Store, it's recommended to use app bundles or split the APK to reduce the APK size.
To generate an app bundle, run:
flutter build appbundle --target-platform android-arm,android-arm64,android-x64
Learn more on: https://developer.android.com/guide/app-bundle
To split the APKs per ABI, run:
flutter build apk --target-platform android-arm,android-arm64,android-x64 --split-per-abi
Learn more on: https://developer.android.com/studio/build/configure-apk-splits#configure-abi-split
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done 2.7s
✓ Built build/app/outputs/apk/release/app-release.apk (53.5MB).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment