I'm having a problem building a Flutter app for Android. I've been working on this app for a while, and up until today I've been building for Android without problems. I've made no recent changes to the build setup.
I am not very familiar with fixing Android build issues (I came to Flutter as an iOS developer).
I am currently using Flutter v1.20.4, and as the error shows the app uses the RevenueCat flutter plugin purchases_flutter v1.4.3.
/Users/myusername/Desktop/Develop/flutter/.pub-cache/hosted/pub.dartlang.org/purchases_flutter-1.4.3/android/src/main/java/com/revenuecat/purchases_flutter/PurchasesFlutterPlugin.java:38: error: package kotlin does not exist
import kotlin.UninitializedPropertyAccessException;
^
warning: unknown enum constant DeprecationLevel.ERROR
reason: class file for kotlin.DeprecationLevel not found
warning: unknown enum constant DeprecationLevel.ERROR
/Users/myusername/Desktop/Develop/flutter/.pub-cache/hosted/pub.dartlang.org/purchases_flutter-1.4.3/android/src/main/java/com/revenuecat/purchases_flutter/PurchasesFlutterPlugin.java:70: error: cannot find symbol
} catch (UninitializedPropertyAccessException e) {
^
symbol: class UninitializedPropertyAccessException
/Users/myusername/Desktop/Develop/flutter/.pub-cache/hosted/pub.dartlang.org/purchases_flutter-1.4.3/android/src/main/java/com/revenuecat/purchases_flutter/PurchasesFlutterPlugin.java:93: error: cannot find symbol
} catch (UninitializedPropertyAccessException e) {
^
symbol: class UninitializedPropertyAccessException
location: class PurchasesFlutterPlugin
3 errors
Any thoughts would be great... thanks!