Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

打包不了,提示 > A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action > Android resource linking failedAAPT: error: resource android:attr/lStar not found.调试环境可以正常使用 #122

Open
zyj1078180197 opened this issue Oct 29, 2024 · 2 comments

Comments

@zyj1078180197
Copy link

No description provided.

@zyj1078180197 zyj1078180197 changed the title 打包不了,提示 > A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action > Android resource linking failedAAPT: error: resource android:attr/lStar not found. 打包不了,提示 > A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action > Android resource linking failedAAPT: error: resource android:attr/lStar not found.调试环境可以正常使用 Oct 29, 2024
@zyj1078180197
Copy link
Author

原生打包没有问题,flutter打包不行
FAILURE: Build completed with 2 failures.

1: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':package_info:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
Android resource linking failed
ERROR: E:\project\xxxxx\build\package_info\intermediates\merged_res\release\values\values.xml:194: AAPT: error: resource android:attr/lStar not found.

  • 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.
==============================================================================

2: Task failed with an exception.

  • What went wrong:
    Execution failed for task ':flutter_xupdate:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
Android resource linking failed
ERROR: E:\project\xxxxx\build\flutter_xupdate\intermediates\merged_res\release\values\values.xml:2635: AAPT: error: resource android:attr/lStar not found.

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

No branches or pull requests

1 participant