I'm trying to use percent_indicator in my flutter project. When I give flutter pub get
the following error I'm getting. This occurs only for this dependency. I tried the solution mentioned in the following link
https://github.com/flutter/flutter/issues/46641#issuecomment-631359661
https://stackoverflow.com/a/65785014/9455775
Error I'm getting Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(../../third_party/boringssl/src/ssl/handshake.cc:354))
pub upgrade failed (server unavailable) -- attempting retry 1 in 1 second...
Handshake error in client (OS Error: CERTIFICATE_VERIFY_FAILED: unable to get local issuer certificate(../../third_party/boringssl/src/ssl/handshake.cc:354))
pub upgrade failed (server unavailable) -- attempting retry 2 in 2 seconds...
. . . . (Goes on ) But still no use.. Please let me know what went wrong here.
1- try to disable your antivirus | firewall
2- try to use vpn
3- run your cmd promt with anadministrator privileges and try again
restart your IDE before trying again
Created new project and added the dependency. It worked for me
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.