
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
- Sites_: 500 Server Error when connecting...
I am trying to set up Sites on my self-hosted Appwrite instance. I have a GitHub Organization with a repo I want access to. I had previously installed the appwr...
- Migration failed after upgrading from 1....
Upgraded from 1.6.2 to 1.7.1 then run migration command No errors in browser console But stuck at appwrite loader and never gets in. Not sure of the type of ...
- Fail migrate 1.6.2 to 1.7.1
```Migrating documents for collection "databases" Migrating documents for collection "attributes" Migrating documents for collection "indexes" Migrating documen...
