Open tayyabbashir2224 opened 2 years ago
configure dependency accordingly and link firebase account and try again. and as it uses deprecated dependency so you might need to rewrite everything if you update dependency.
configure dependency accordingly and link firebase account and try again. and as it uses deprecated dependency so you might need to rewrite everything if you update dependency.
i have fixed almost all warnings and some errors as i am noob to flutter i need your help to fix some more issues i have found at
https://github.com/Preetmungara/Expense_manager/blob/9f58a5538496e4ce01b63693e8c49d6bb3614ab4/lib/pages/imageCapture.dart#L124
https://github.com/Preetmungara/Expense_manager/blob/9f58a5538496e4ce01b63693e8c49d6bb3614ab4/lib/pages/imageCapture.dart#L131
https://github.com/Preetmungara/Expense_manager/blob/9f58a5538496e4ce01b63693e8c49d6bb3614ab4/lib/pages/imageCapture.dart#L143
https://github.com/Preetmungara/Expense_manager/blob/9f58a5538496e4ce01b63693e8c49d6bb3614ab4/lib/pages/imageCapture.dart#L144
https://github.com/Preetmungara/Expense_manager/blob/9f58a5538496e4ce01b63693e8c49d6bb3614ab4/lib/pages/imageCapture.dart#L154
the errors are in picture.
and in login.dart at line 34 and 38
i will be very thankful if you help me to resolve this errors.
Actually I moved on from Flutter ecosystem quite a long time, but it looks like error is due following reason.
when you use latest version of library. some class name is changed, you can check changelog of particular library at https://pub.dev/ and check what changes are done, here problem is this project is using old version of library and you've used new version in pubspec.yaml , so I think in new version some classes and some modification is there for which actually you've to go through library documentation, no other way. and error is configuring firebase authentication so what you can do is learn how to configure firebase authentication and database for that you can read official firebase documentation and configure accordingly.
Hello Agian, i am migrating your app to nullsafety and i got 206 errors warnings in total and i just have 57 to fix by the help of pub.dev and stackowerflow.com now i am in login.dart and i am getting error The getter 'message' isn't defined for the type 'Object'. Try importing the library that defines 'message', correcting the name to the name of an existing getter, or defining a getter or field named 'message' https://github.com/Preetmungara/Expense_manager/blob/9f58a5538496e4ce01b63693e8c49d6bb3614ab4/lib/pages/login.dart#L48 and line https://github.com/Preetmungara/Expense_manager/blob/9f58a5538496e4ce01b63693e8c49d6bb3614ab4/lib/pages/login.dart#L75 i do not understand the use of https://github.com/Preetmungara/Expense_manager/blob/9f58a5538496e4ce01b63693e8c49d6bb3614ab4/lib/pages/login.dart#L93 please help me .
it is error handling mechanism, if error comes then it will be rendered with Dialog box. make sure that you've configured firebase authentication and all dependency that need in order to work with firebase, so configure firebase with your app. then try again.
hi i have solved almost all errors in the project and now am stucked at permission_handler
Great, now you've to configure this https://pub.dev/packages/permission_handler dependency properly.
Hi, I have solved all errors and connected to firebase database and when i run this command
It Give some error which i can not resolve. FAILURE: Build failed with an exception.
A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade Android resource linking failed C:\Users\User.gradle\caches\transforms-2\files-2.1\7e17a51a05a1f62fcee0d2c8b02ccdfd\firebase-inappmessaging-display-20.1.1\AndroidManifest.xml:14:5-20:15: AAPT: error: unexpected element
found in .
After some googling i make it run but it is just white screen. :(Sent from my Huawei phone-------- Original message --------From: Preet Mungara @.>Date: Mon, Jan 10, 2022, 7:53 AMTo: Preetmungara/Expense_manager @.>Cc: Tayyab bashir @.>, Author @.>Subject: Re: [Preetmungara/Expense_manager] too many bugs found (Issue #1) Great, now you've to configure this https://pub.dev/packages/permission_handler dependency properly.
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you authored the thread.Message ID: @.***>
one thing you should do is whenever any error occurs or something unexpected thing happens, try to search error on google and read discussion about it on stackoverflow and other site, because I might not familiar with all the things [in fact no developer in this world], so search according, you might get answer, because problem I haven't touch flutter from last 1.5 year around so now I'm aware of lot of thing as ecosystem is evolving continuously.
when i run this command flutter build apk --split-per-abi
i got following errors..
The plugins
flutter_image_compress, local_auth
use a deprecated version of the Android embedding.To avoid unexpected runtime failures, or future build failures, try to see if these plugins supportthe Android V2 embedding. Otherwise, consider removing them since a future release of Flutter will remove these deprecated APIs. If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding:https://flutter.dev/go/android-plugin-migration.
Building without sound null safety For more information see https://dart.dev/null-safety/unsound-null-safety
Warning: Mapping new ns http://schemas.android.com/repository/android/common/02 to old ns http://schemas.android.com/repository/android/common/01 Warning: Mapping new ns http://schemas.android.com/repository/android/generic/02 to old ns http://schemas.android.com/repository/android/generic/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/addon2/02 to old ns http://schemas.android.com/sdk/android/repo/addon2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/repository2/02 to old ns http://schemas.android.com/sdk/android/repo/repository2/01 Warning: Mapping new ns http://schemas.android.com/sdk/android/repo/sys-img2/02 to old ns http://schemas.android.com/sdk/android/repo/sys-img2/01
WARNING: This version of local_auth will break your Android build if it or its dependencies aren't compatible with AndroidX. See https://goo.gl/CP92wY for more information on the problem and how to fix it. This warning prints for all Android build failures. The real root cause of the error may be unrelated.
FAILURE: Build failed with an exception.
What went wrong: Could not determine the dependencies of task ':app:processReleaseResources'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org
BUILD FAILED in 18s Running Gradle task 'assembleRelease'... 19.9s [!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
WARNING: This version of local_auth will break your Android build if it or its dependencies aren't compatible with AndroidX. See https://goo.gl/CP92wY for more information on the problem and how to fix it. This warning prints for all Android build failures. The real root cause of the error may be unrelated.
FAILURE: Build failed with an exception.
What went wrong: Could not determine the dependencies of task ':app:lintVitalRelease'.
Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Get more help at https://help.gradle.org BUILD FAILED in 22s Running Gradle task 'assembleRelease'... 23.5s [!] Gradle threw an error while downloading artifacts from the network. Retrying to download...
Gradle task assembleRelease failed with exit code 1