我剛剛下載了Android Studio 2.4 preview 2,並將其替換爲舊版本。我一直以來就獲得的gradle同步以下錯誤:Android Studio 2.4錯誤:未安裝平臺工具軟件包並禁用SDK自動下載
Error:platform-tools package is not installed and SDK auto-download is disabled.
我剛剛下載了Android Studio 2.4 preview 2,並將其替換爲舊版本。我一直以來就獲得的gradle同步以下錯誤:Android Studio 2.4錯誤:未安裝平臺工具軟件包並禁用SDK自動下載
Error:platform-tools package is not installed and SDK auto-download is disabled.
我和預覽版4一樣,直到我下載了Android SDK Build-Tools 26-rc1
和Android SDK Platform-Tools 26.0.0 rc1
。然後我退出Android Studio,再次打開它,並且再也沒有投訴。
這是因爲莫名其妙的Android SDK平臺已經卸載了重新安裝它開放式的SDK管理器,然後單擊SDK工具。之後搜索Android SDK平臺工具,然後選擇它並單擊安裝。
我也有這樣的問題,但我通過打開android的AVD管理器修復,然後點擊右上角的「更新平臺工具」。
我建議你使用穩定版本2.3,因爲你知道這是一個預覽版本,可能有一些問題和錯誤。 –