Hi,
When using the SDK Manager method, ensure that the host is running on a physical machine rather than a virtual environment (e.g., WSL, VirtualBox, VMware, etc.).
For the terminal method, refer to a similar discussion in this topic. Additionally, please provide your flash command for further check.
Thanks