analytics_flutter icon indicating copy to clipboard operation
analytics_flutter copied to clipboard

Broken Android builds with Flutter 3.24.0

Open wrbl606 opened this issue 1 year ago • 1 comments

After an upgrade to Flutter 3.24.0 the Android variant of my application is no longer building, with an error:

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

The source of the issue is likely the flutter_fgbg dependency -- the maintainers are aware of the issue, but haven't fixed it yet.

Any plans to mitigate the issue from your side?

wrbl606 avatar Aug 14 '24 10:08 wrbl606

Same

taham8875 avatar Aug 15 '24 13:08 taham8875

The issue on flutter_fgbg seems to have been fixed. See https://github.com/ajinasokan/flutter_fgbg/issues/21#issuecomment-2296955151. So just and update of the dependency is required for this project.

t-unit avatar Aug 20 '24 15:08 t-unit

@MichaelGHSeg Its not really fixed until https://github.com/segmentio/analytics_flutter/pull/97 is merged

QuirijnGB avatar Sep 26 '24 11:09 QuirijnGB