I found issue when attempting to build my Flutter application in release mode using the onesignal_flutter: ^5.2.2 package. This issue occurs after upgrading to Flutter SDK 3.24.0.
ERROR: ../build/onesignal_flutter/intermediates/merged_res/release/mergeReleaseResources/values/values.xml:2657: AAPT: error: resource android:attr/lStar not found.
I try follow this steps from GitHub repo issues comment:
(https://github.com/OneSignal/OneSignal-Flutter-SDK/issues/930#issuecomment-2283832859)
2
Answers
I found this solution in Github repo comments:
Add the code block below to the android/build.gradle file in your project directory.
Solution Link in GitHub
Add this line in your android level build.gradle file