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

Gradle error on Flutter Version 3.24.3 #32

Open
nacuta opened this issue Oct 2, 2024 · 6 comments
Open

Gradle error on Flutter Version 3.24.3 #32

nacuta opened this issue Oct 2, 2024 · 6 comments

Comments

@nacuta
Copy link

nacuta commented Oct 2, 2024

New project with version 3.24.3 and the only aded package is receive_intent. At build apk this error occurs:

"Execution failed for task ':receive_intent:verifyReleaseResources'.

A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
Android resource linking failed
ERROR: /Users//new_project/build/receive_intent/intermediates/merged_res/release/values/values.xml:194: AAPT: error: resource android:attr/lStar not found."

Screenshot 2024-10-02 at 14 27 54
@lonyyy
Copy link

lonyyy commented Oct 7, 2024

Same for me here.

1 similar comment
@mohammed-fawaz-cp
Copy link

Same for me here.

@daadu
Copy link
Owner

daadu commented Oct 10, 2024

I'm out on vacation, the error seems to be with the merged values.xml file

Our plugin has no values.xml, I'm not available to fix this as of now

Post about the temporary fix here, if you're able to find

@khomin
Copy link

khomin commented Oct 17, 2024

Same, gradle 8
Error in release only

Found a temp fix

Set compileSdkVersion:
compileSdkVersion 34
in the plugin:
android/build.gradle

@jakusb
Copy link

jakusb commented Oct 31, 2024

@daadu Someone made PR to fix this issue:
#29
Workaround posted above did not work for me

@Exnonull
Copy link

Exnonull commented Nov 6, 2024

workaround above works for me, but i prefer this way to change version flutter/flutter#153281 (comment)
in short words: it changing compileSdkVersion from 30 to 31 for all plugins that below 31

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

7 participants