庆典:./studio.sh:权限被拒绝(错误安装Android的工作室)庆典、被拒、权限、错误

2023-09-05 09:49:54 作者:老衲善解人衣

当我试图安装Android工作室 并执行命令

While I was trying to Install Android-Studio and execute the command

@abhinay-Pc:/android-studio/bin$`./studio.sh

据显示错误:

It is showing the error:

bash: ./studio.sh: Permission denied

我已出口的Java目录 /机器人工作室/箱 folder`

I have already exported Java directory to /android-studio/bin folder`

(Java_Home = /usr/lib/jvm/java-7-oracle)

我有Java的7安装在我的系统。

I have the java-7 installed on my system.

推荐答案

您可能没有搭配chmod + X studio.sh 尝试 SH ./ studio.sh

如果这不是它,再试一次像这样: SH -x ./studio.sh 。这将显示每个正在运行的线路,将帮助你调试。

If this was not it, try again like this: sh -x ./studio.sh. This will show you every line that is run and will help you debug it.

祝你好运。