# 构建流水线报错：Failed to request the remote SDK

**问题描述**

执行SDK安装时出现错误，请协助检查问题原因。

./sdkmgr install xxx --sdk-directory="/opt/HarmonyOS/SDK" Failed to request url  \[ \]0% Failed to request the remote SDK. This may be caused by a network error. If your environment needs a proxy to access the Internet, check whether the --proxy and --no-proxy parameters are correctly set. If they are not set, check whether the http\_proxy/HTTP\_PROXY and no\_proxy/NO\_PROXY environment variables are correctly set. root@luckyclientbuild01-test3-ucscompute16-cloudvsp:~/command-line-tools/sdkmanager/bin#

**解决方案**

编译时建议先执行clean操作，以避免上次编译的产物影响新的编译。