在 arm64 chromebook 上安装 android studio/android-sdk

问题描述

我正在尝试在运行 arm64 的 Chromebook 上安装 android studio,但立即我收到“您的 Android SDK 丢失、过时或损坏”的消息。公平地说,我通过向导并通过向导选择要安装的位置,但在安装开始之前,我收到“尝试计算所需的包时出错”。

enter image description here

enter image description here

我也尝试通过 apt install android-sdk 下载 android-sdk,但是当我去选择位置时,SDK 设置中没有任何反应,一切都变灰了,我提供的位置 (usr/lib/android-sdk ) 现在又不见了。(过程见照片)

有什么想法吗?

enter image description here

enter image description here

enter image description here

解决方法

最终的解决方案是 running sudo-apt install android-sdk,将其移至 /home/USERNAME/Android/Sdk 并手动选择位置。