themobilecoder / headset_connection_event

Flutter library to capture connect and disconnect events from headset
MIT License
7 stars 21 forks source link

Execution failed for task ':headset_connection_event:verifyReleaseResources'. #23

Closed kydemy-fran closed 2 months ago

kydemy-fran commented 2 months ago

After upgrading flutter (3.24.0) I am unable to build Android APKs due to the following error:

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':headset_connection_event:verifyReleaseResources'.
> A failure occurred while executing com.android.build.gradle.tasks.VerifyLibraryResourcesTask$Action
   > Android resource linking failed
     ERROR:[...]/build/headset_connection_event/intermediates/merged_res/release/values/values.xml:194: AAPT: error: resource android:attr/lStar not found.

Any ideas how I can prevent this?

kydemy-fran commented 2 months ago

I am getting this error with other packages, eg notification_permissions. So maybe it is my setup.

kydemy-fran commented 2 months ago

It is a flutter issue: https://github.com/flutter/flutter/issues/153281 Closing issue.