android studio不会在sudo或没有sudo的情况下在linux上安装

时间:2015-08-07 12:07:05

标签: android linux android-studio

我已下载android-studio-ide-141.2117773-linux.zip并解压缩然后转到此文件夹:

~/Program/Andr/android-studio/bin

并运行它:

$ ./studio.sh

然后它寻找sdk路径并找到它(我以前拥有它):

我选择标准,然后单击下一步然后单击完成: enter image description here

然后我有这个错误: enter image description here

这些界限:

There is nothing to install or update.
The following SDK component was not installed: extra-google-m2repository

这是/ home / mrg / Program / android / adt / sdk的内容:

$ ls
add-ons      docs    platforms       samples         system-images  tools
build-tools  extras  platform-tools  SDK Readme.txt  temp

现在我用sudo运行它(我也用root终端运行它):

$ sudo ./studio.sh

现在路径不同了: enter image description here

点击完成然后我面对这个错误: enter image description here

这些界限:

There is nothing to install or update.
The following SDK components were not installed: extra-android-m2repository, extra-google-m2repository and platform-tools

这是内容:

$ sudo ls /root/Android/Sdk
add-ons  platforms  SDK Readme.txt  tools

我还更改了/root/.android和/home/mrg/.android的权限

有什么想法我如何在linux Mint上安装Android Studio? 这是我的linux信息: enter image description here

这也是我的SDK经理: enter image description here

当我创建一个项目时,它会显示这个窗口并且没有任何反应: enter image description here

0 个答案:

没有答案
相关问题