Flutter:Flutter build apk-释放需要很长时间

时间:2019-09-07 06:06:58

标签: flutter

enter image description here 我想问一下flutter build apk --releaseflutter build apk --release花很长时间制作APK有什么影响?

我有规格笔记本电脑 i7 gen 5 SSD M.2 256 GB Ram 8 GB(双通道)OS:Windows

每个我构建APK大约需要690-800秒的时间,什么规格的笔记本电脑会影响构建APK的时间?以及如何增加构建APK时间?

这是我的依赖

dependencies:
  flutter:
    sdk: flutter
  http: ^0.12.0+2
  page_transition: ^1.1.4
  image_picker: ^0.6.1+2
  cached_network_image: ^1.1.1
  shared_preferences: ^0.5.3+4

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_native_splash: ^0.1.7+2
  flutter_launcher_icons: ^0.7.3

flutter_icons:
  image_path: "assets/image_launcher_icons/logo.png"
  android: true
  ios: true

flutter_native_splash:
  image: assets/image_splash_screen/splash.png
  color: "42a5f5"

0 个答案:

没有答案