Open ArbestNew opened 1 month ago
Add path_provider_android: 2.2.10
in pubspec to set dependence version manully can solve this issue, I will leave it open since maybe someone from google_fonts package team need to change the dependence so others won't meet the issue. The default version added by google_fonts package of path_provider_android
is 2.2.12 which just updated, maybe it is the reason caused the issue. Don't know if i should report this to that package too.
Is there any update on this issue?
Package
google_fonts
Existing issue?
What happened?
Expected vs actual result:
install google_fonts into flutter project, but will cause android build fail, web still working
Steps to reproduce:
1.Following the offical instruction on pub.dev https://pub.dev/packages/google_fonts/install, just add the package (flutter pub add google_fonts)
From the log output, I found the issue was related to the
path_provider_android
cannot be resolved. this package is dependence ofpath_provider
which is the dependence ofgoogle_fonts
My gradle setting (Only modified the minSdk to 23 for use firebase auth, rest setting is same as flutter default):
pubspec.yml
pubspec.lock file: (provider_path and provider_path_android was added due to install of google_fonts package)
Relevant log output