Trouble with running and hot reloading flutter in Android studio(Bad state: Future already completed)
This might look like a weird suggestion; however, did you try using vpn while completing this action? I once faced this problem, then using a vpn connection helped me. I guess, you may give it a try.