Issue
I am trying to restore flutter dependency using flutter pub get
command. My pubspec.ymal
file has google_map_location_picker dependency from the github repository. I am using below configuration in the pubspec.ymal file.
But I am getting git error.
I cleared pub-cache folder as well. But there has not good sign.
Please help me to resolve this configuration issue.
Solution
You cannot use the GitHub repos as such now. Either you need to add the ssh key into your system and pass add the password and username info in the URL or simply use the HTTPS URL like below.
google_map_location_picker:
git: https://www.github.com/Lyokone/google_map_location_picker.git
Answered By - Prabhakaran
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.