我已下载android-studio-ide-141.2117773-linux.zip并解压缩然后转到此文件夹:
~/Program/Andr/android-studio/bin
并运行它:
$ ./studio.sh
然后它寻找sdk路径并找到它(我以前拥有它):
这些界限:
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
这些界限:
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的权限