TypeScript
Launching lib\main.dart on TECNO LE7 in debug
mode...
Running Gradle task 'assembleDebug'...
e: file:///C:/Users/Arif%20Qayoom/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_web_auth_2-2.2.1/android/src/main/kotlin/com/linusu/flutter_web_auth_2/FlutterWebAuth2Plugin.kt:15:48 Unresolved reference: Registrar
Running Gradle task 'assembleDebug'... e: file:///C:/Users/Arif%20Qayoom/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_web_auth_2-2.2.1/android/src/main/kotlin/com/linusu/flutter_web_auth_2/FlutterWebAuth2Plugin.kt:22:33 Unresolved reference: Registrar
Running Gradle task 'assembleDebug'...
Note: C:\Users\Arif Qayoom\AppData\Local\Pub\Cache\hosted\pub.dev\razorpay_flutter-1.4.0\android\src\main\java\com\razorpay\razorpay_flutter\RazorpayDelegate.java uses or overrides a deprecated API.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
Running Gradle task 'assembleDebug'...
> Compilation error. See log for more details
BUILD FAILED in 2m 4s
Running Gradle task 'assembleDebug'...
125.6s
Error: Gradle task assembleDebug failed with
exit code 1
PS C:\Users\Arif Qayoom\donor>```
TL;DR
Issue: After upgrading Flutter version, getting unresolved reference errors for Registrar in FlutterWebAuth2Plugin.kt and deprecated API warnings in RazorpayDelegate.java.
Solution: Update the dependencies causing the issues, such as FlutterWebAuth2 and razorpay_flutter, to their latest versions compatible with the upgraded Flutter version. The errors should be resolved after updating the dependencies.Recommended threads
- executeFunction intermittently throws Fo...
Environment: Flutter app using the Appwrite Flutter SDK, calling executeFunction for [describe endpoint, e.g. live-stream-related function]. *Description*: Int...
- How to update from 1.8.1 to 1.9.6
Due to the number of issues reported in version 1.9.5, I am hesitant to proceed with the update. Could anyone advise if version 1.9.6 is stable and resolves tho...
- HTTP Error 500 ''
Hello to everyone, I'm a Flutter developer and actually I'm developing an app using Appwrite.. during my tests and also massive ones I've noticed something we...