Closed gdelataillade closed 3 weeks ago
Hi @gdelataillade
The missing lStar
attribute was added in SDK 31: https://developer.android.com/reference/android/R.attr#lStar
We are currently upgrading our compileSdkVersion
from 29
to 31
: https://github.com/bugsnag/bugsnag-flutter/pull/265
This should resolve the issue you were seeing, and we will make sure to update this thread when the new release is available.
Hi @gdelataillade,
Just wanted to let you know that we have now upgraded the Android compileSdkVersion from 29 to 31 in v4.1.0 of bugsnag-flutter, so we are going to close this PR out now. Please let us know if you have any questions.
Thanks
Goal
This change is necessary to resolve an issue during the build process caused by an outdated
compileSdkVersion
. Specifically, the error occurred while verifying Android resources:Design
The approach used was to upgrade the
compileSdkVersion
from 31 to 34 in the Bugsnag Flutter dependency. This fixes the missing resource issue, as the newer SDK version supports the required attributes.Changeset
Updated
compileSdkVersion
from 31 to 34 in thebugsnag_flutter
module to align with the latest Android SDK compatibility.Testing
The change was tested by rebuilding the Flutter project using the new SDK version. I use the following environment:
After the update, the build was successful, and no further errors related to resource linking were encountered.