appditto / natrium_wallet_flutter

Natrium - Fast, Robust & Secure NANO Wallet, now written with Flutter.
Other
862 stars 327 forks source link

Unable to run project in android studio #185

Open PrinceTayal opened 1 year ago

PrinceTayal commented 1 year ago

I have searched all stackoverflow and github and applied the solutions for this problem but nothing seems to work.

When I run flutter pub get it throws an error show in image below image

I have tried updating the sdk version in pubsec.yaml to min of 2.12.0 but it doesn't seem to work. Would be great if somebody can help

PFA pubsec.yaml

name: natrium_wallet_flutter description: Natrium - Fast, Robust & Secure NANO Wallet.

The following defines the version and build number for your application.

A version number is three numbers separated by dots, like 1.2.43

followed by an optional build number separated by a +.

Both the version and the builder number may be overridden in flutter

build by specifying --build-name and --build-number, respectively.

version: 2.5.1+85

environment: sdk: ">=2.12.0 <3.0.0"

dependencies: flutter: sdk: flutter flutter_localizations: sdk: flutter

Securley store data in a keystore

flutter_secure_storage: ^8.1.0

Nano core functions

flutter_nano_ffi: git: url: https://github.com/appditto/flutter_nano_ffi.git ref: master

Shared prefs

shared_preferences: ^2.0.8

Flare for animations

flare_flutter: ^3.0.2

Websockets

web_socket_channel: ^2.0.0

Platform-specific build info

package_info: ^2.0.2

Device-specific info

device_info: ^2.0.3

JSON Serialization

json_annotation: ^4.3.0

Localization

intl: ^0.17.0

BigDecimal alternative

decimal: ^1.3.0

Logger

logger: ^2.0.1

Native webview plugin

flutter_webview_plugin: ^0.4.0

SQLite

sqflite: ^2.0.0+4

Android/iOS path provider

path_provider: ^2.0.1

TouchID/FaceID

local_auth: ^2.1.6

Eventbus

event_taxi: ^1.0.0

SVG

flutter_svg: ^1.0.3

QR Codes

qr_flutter: ^4.0.0 # Generator barcode_scan: git: url: https://github.com/bbedward/flutter_barcode_reader.git ref: master

Share files

share: git: url: https://github.com/bbedward/plugins.git path: packages/share ref: master

File picker

file_picker: ^5.3.1

Deep link support

uni_links: ^0.2.0

uni_links: git: url: https://github.com/bbedward/uni_links.git ref: master

HTTP client

http: ^0.13.4

Vibrate

vibrate: git: url: https://github.com/bbedward/flutter_vibrate.git ref: master

Toast

oktoast: ^3.0.0

Push notifications

firebase_messaging: ^14.6.7 firebase_core: ^2.15.1

Slidable list actions

flutter_slidable: ^0.6.0

Lock helper

synchronized: ^3.0.0

Service provider

get_it: ^7.6.0

Root/Jailbreak detection

root_checker: git: url: https://github.com/bbedward/root_checker.git ref: master

Validation utilities

validators: ^3.0.0

Auto resize text widget

auto_size_text: ^3.0.0

Avoid keyboard from overlapping text fields

keyboard_avoider: ^0.1.2

Launch external URLs

url_launcher: ^6.0.2

quiver: ^3.0.1+1

Manta dart implementation

manta_dart: git: url: https://github.com/bbedward/manta-dart.git ref: master

devicelocale: ^0.6.0

dependency_overrides: analyzer: ^2.7.0 dart_style: ^2.0.0

dev_dependencies: flutter_test: sdk: flutter build_runner: ^2.3.3 json_serializable: ^6.0.1 intl_translation: git: url: https://github.com/bbedward/intl_translation.git ref: master

For information on the generic Dart part of this file, see the

following page: https://www.dartlang.org/tools/pub/pubspec

The following section is specific to Flutter.

flutter: fonts:

bbedward commented 1 year ago

Currently it will only run with flutter 3.7, the codebase needs migrated to null safety to run a newer sdk