Skip to content
This repository has been archived by the owner on Sep 15, 2020. It is now read-only.

打包时,报资源文件出错 #13

Closed
w4mxl opened this issue Dec 19, 2019 · 7 comments
Closed

打包时,报资源文件出错 #13

w4mxl opened this issue Dec 19, 2019 · 7 comments

Comments

@w4mxl
Copy link

w4mxl commented Dec 19, 2019

  • 开发环境:
[✓] Flutter (Channel stable, v1.12.13+hotfix.5, on Mac OS X 10.15.2 19C57, locale en-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 11.3)
[✓] Android Studio (version 3.5)
[✓] VS Code (version 1.41.0)
[✓] Connected device (2 available)
  • 错误信息:
[        ] FAILURE: Build failed with an exception.
[        ] * What went wrong:
[        ] Execution failed for task ':ovprogresshud:verifyReleaseResources'.
[        ] > java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
[        ]   /Users/wml/Development/workspace@Flutter/mobile_design_studio/build/ovprogresshud/intermediates/res/merged/release/values/values.xml:265: error:
resource android:attr/fontVariationSettings not found.
[        ]   /Users/wml/Development/workspace@Flutter/mobile_design_studio/build/ovprogresshud/intermediates/res/merged/release/values/values.xml:266: error:
resource android:attr/ttcIndex not found.
[        ]   error: failed linking references.
[        ] * 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 2m 31s

我搜索到其它一些插件也有类似问题,这个情况应该是升级 flutter 到 v1.12.13 版本后出现的。希望开发者能修复一下~

@wochen85
Copy link

我也遇到整个问题了,希望作者赶紧解决下

@6ag
Copy link

6ag commented May 6, 2020

这个项目应该放弃维护了,这个问题存在太久了

@w4mxl
Copy link
Author

w4mxl commented May 7, 2020

@wochen85 @6ag 我当时为了修复这个问题自己fork了一下这个库代码改的,如果需要可以在 yaml 用我这个 git(https://github.com/w4mxl/OVProgressHUD)

@w4mxl w4mxl closed this as completed May 7, 2020
@PiN73
Copy link

PiN73 commented Sep 14, 2020

@wochen85 @6ag 我当时为了修复这个问题自己fork了一下这个库代码改的,如果需要可以在 yaml 用我这个 git(https://github.com/w4mxl/OVProgressHUD)

@w4mxl thank you, it solves the problem! May you create a pull request to merge the fix into the package?

@w4mxl
Copy link
Author

w4mxl commented Sep 14, 2020

@wochen85 @6ag 我当时为了修复这个问题自己fork了一下这个库代码改的,如果需要可以在 yaml 用我这个 git(https://github.com/w4mxl/OVProgressHUD)

@w4mxl thank you, it solves the problem! May you create a pull request to merge the fix into the package?

Sorry, I didn't submit a pull request because I was worried that the project was abandoned for maintenance.

@PiN73
Copy link

PiN73 commented Sep 15, 2020

@mjl0602 would you merge this?

@mjl0602
Copy link
Owner

mjl0602 commented Sep 15, 2020

I suggest everyone use OKToast instead. @PiN73 @w4mxl @wochen85

OKToast: https://github.com/OpenFlutter/flutter_oktoast

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants