問題描述
無法從 Android SDK 管理器安裝/下載 SDK (Unable to install/download SDK from Android SDK manager)
我正在嘗試安裝和使用來自 Google Play 服務的庫,因為我正在執行以下步驟 這裡
但是,我收到這個奇怪的錯誤,它說找不到文件並且訪問被拒絕。
我什至嘗試過更新或下載新的 SDK,似乎我有這個問題也是如此。所以我想知道我是否遺漏了一些阻止我下載 SDK 的步驟?
參考解法
方法 1:
Ah how stupid of me.
This wasn't caused by any firewall settings/ anti‑virus.
As the folder was placed in the Program Files, please do ensure that your Windows User Account has Full Control access rights.
This can be set in the properties of the folder under Security!
方法 2:
Looks to me as if there is either a download problem (firewall, antivirus), that blocks downloading or something like an automatic antivirus block for opening zip files?
Is Java allowed to use internet connection? Did you change something at the firewall settings there? Could you try do add the SDK Manager to the firewall allowed list?
(by lyk、lyk、ConcurrentHashMap)