
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
- Appwrite website is not opening on Airte...
help please
- PR Review and Issue Assign?
I am not familiar with how things work here. I know that Issue have to be assigned before solving problem, It is for not wasting contributors time but I like t...
- 500 internal error when trying to access...
Hello team, I am having trouble trying to access my projects in Appwrite. Each time I try to click in a project I want to open it doesn't load immediately and ...
