bash: /usr/local/android-sdk-linux/tools/android: Permission denied

北城以北 提交于 2019-12-11 03:15:30

问题


i am trying to install phone gap on Ubuntu. I followed all the necessary steps and successfully installed the android sdk on Ubuntu. but when I type android in the terminal it shows permission denied. How do i change the permission. The error is:

bash: /usr/local/android-sdk-linux/tools/android: Permission denied

回答1:


Set the permissions using chmod exec'd using sudo

sudo chmod a+x /usr/local/android-sdk-linux/tools/android



回答2:


Simply fix the rights

chmod +x /usr/local/android-sdk-linux/tools/android

and enjoy.




回答3:


Hit CTRL + ALT + T , then write :

sudo chmod a+x /usr/local/android-sdk-linux/tools/android 

and enter.

this will grant you all your necessary action in android



来源:https://stackoverflow.com/questions/27641514/bash-usr-local-android-sdk-linux-tools-android-permission-denied

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!