SankethBK / diaryvault

A personal diary application written in Flutter
https://play.google.com/store/apps/details?id=me.sankethbk.dairyapp
MIT License
78 stars 57 forks source link

Running application through `flutter run` #153

Closed mbfannan closed 8 months ago

mbfannan commented 8 months ago

Hello, I'd love to contribute to this project, however, every time I attempt to run the application I receive the error messages denoted in the screenshot below. I realize that this is a result of dependency issues from the pubspec.yaml. I've been attempting to resolve this for a prolonged time, and I'm wondering if anyone may have faced a similar issue @SankethBK.

image
LujainAlMansoori commented 8 months ago

I have this error too, @SankethBK could you please help

SankethBK commented 8 months ago

Hi, can you post the output of flutter --version and flutter doctor -v

mbfannan commented 8 months ago

Sure, here's the output of flutter --version

image

Here's the output of flutter doctor -v:

image
SankethBK commented 8 months ago

I am using 3.13.0, can you downgrade to 3.13.0 once and try

Flutter 3.13.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision efbf63d9c6 (3 months ago) • 2023-08-15 21:05:06 -0500
Engine • revision 1ac611c64e
Tools • Dart 3.1.0 • DevTools 2.25.0

Meanwhile, I'll try to migrate it to 3.16.0

mbfannan commented 8 months ago

Ya sure Ill try that out

mbfannan commented 8 months ago

It worked by downgrading to version 3.13.0. To resolve this I went to the flutter folder cloned from the flutter repo. Upon which I ran:

  1. git fetch --tags
  2. git checkout 3.13.0
  3. Then run: flutter --version