构建失败并出现退出代码 1 的异常?

时间:2021-01-11 11:32:28

标签: flutter dart

我遵循的步骤:

  1. gradlew clean
  2. flutter clean
  3. flutter pub cache repair
  4. flutter build apk.
Running Gradle task 'assembleRelease'...
Expected to find fonts for (packages/open_iconic_flutter/OpenIconic, MaterialIcons, packages/font_awesome_flutter/FontAwesomeBrands, ..., Feather, packages/inspireui/Feather), but found (MaterialIcons, packages/cupertino_icons/CupertinoIcons, packages/font_awesome_flutter/FontAwesomeBrands, ..., packages/open_iconic_flutter/OpenIconic, packages/inspireui/Feather). This usually means you are refering to font families in an IconData class but not including them in the assets section of your pubspec.yaml, are missing the package that would include them, or are missing "uses-material-design: true".
Parameter format not correct -

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:mergeReleaseResources'.
> GC overhead limit exceeded

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4m 0s
Running Gradle task 'assembleRelease'...
Running Gradle task 'assembleRelease'... Done                     242.1s (!)
Gradle task assembleRelease failed with exit code 1

0 个答案:

没有答案