supabase / supabase-flutter

Flutter integration for Supabase. This package makes it simple for developers to build secure and scalable products.
https://supabase.com/
MIT License
745 stars 184 forks source link

Resource android:attr/lStar not found when building release APK #1057

Open SUPERHUANG2 opened 1 month ago

SUPERHUANG2 commented 1 month ago

This error seems to be related to the sign_in_with_apple plugin.

Environment

Steps to Reproduce

  1. Add sign_in_with_apple plugin to pubspec.yaml
  2. Run flutter pub get
  3. Try to build a release APK with flutter build apk --release

What I've Tried

I've attempted the following solutions without success:

  1. Updated Android SDK versions in build.gradle
  2. Ensured AndroidX is enabled
  3. Cleaned and rebuilt the project
  4. Disabled resource shrinking and minification

Question

Is this a known issue with the plugin? Are there any workarounds or fixes available?

Any assistance would be greatly appreciated. Thank you!

dshukertjr commented 1 month ago

You seem to be using an out-dated version of both supabase_flutter and apple_sign_in plugin. I would see if upgrading them would fix the issue.