TheAlphamerc / flutter_twitter_clone

Fully functional Twitter clone built in flutter framework using Firebase realtime database and storage

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flutter pub get fails. (link_preview_generator 1.2.0 requires SDK version >=2.14.0 <3.0.0)

ericlchen369 opened this issue · comments

The current Dart SDK version is 2.12.3.
Hello :) I have been trying to get this project to work past few days on android, ios or web but to no avail. Below is the result I have from Android Studio.

Because link_preview_generator 1.2.0 requires SDK version >=2.14.0 <3.0.0

flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.0.5, on macOS 12.0.1 21A559 darwin-arm, locale en-GB)
[✓] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] Connected device (4 available)

Screenshot 2022-02-12 at 15 50 54

If anyone can please help me get through this process is greatly appreciated. Cheers!

@ericlchen369 Can you try with latest version of Flutter SDK ?