I am trying to integrate Huawei Account Kit in my flutter project. Since I am not using Huawei phone, I have downloaded the HMS Core in my phone which is version 3.0.0.300. The current version for Huawei Account Kit in my pubspec.yaml is 5.2.0+301.
I have already change the minSdkVersion to 19 before that. When I run my app, it says that I have not met the minimum version requirement. Any suggestions on solving this issue?
Below are my pubspec.yaml and some screenshot of the error messages.
name: account_kit
description: A new Flutter project.
version: 1.0.0+1
environment:
sdk: ">=2.12.0 <3.0.0"
dependencies:
flutter:
sdk: flutter
cupertino_icons: ^1.0.2
huawei_account: ^5.2.0+301
dev_dependencies:
flutter_test:
sdk: flutter
flutter:
uses-material-design: true
Try to remove version like this:
huawei_account:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With