The build SDK for the plugin was still set at 27 instead of the required 28. This created problems with CI/CD servers and command line builds even though Flutter and Android Studio seemed to find a way around it.
The specific error this resolves is:
Execution failed for task ':fast_qr_reader_view:verifyReleaseResources'.
> java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.v2.Aapt2Exception: Android resource linking failed
Output: /.../build/fast_qr_reader_view/intermediates/res/merged/release/values/values.xml:197: error: resource android:attr/fontVariationSettings not found.
/.../build/fast_qr_reader_view/intermediates/res/merged/release/values/values.xml:198: error: resource android:attr/ttcIndex not found.
error: failed linking references.
The build SDK for the plugin was still set at 27 instead of the required 28. This created problems with CI/CD servers and command line builds even though Flutter and Android Studio seemed to find a way around it.
The specific error this resolves is: