43530

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

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

Answer1:

Set the permissions using chmod exec'd using sudo

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

Answer2:

Simply fix the rights

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

and enjoy.

Answer3:

Hit CTRL + ALT + T</kbd> , then write :

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

and enter</kbd>.

this will grant you all your necessary action in android

Recommend

  • Gem not installing package
  • How to run bash commands like “npm install” on complie
  • auth.provider is not set to 'password' when user signs-in with email and password
  • php is_file always return false
  • user data scripts fails without giving reason
  • Interpreting STRACE output - pipes and forks
  • Write output of for loop to multiple files
  • How can I get the full list of running processes on a Mac from a python app
  • MeeGo Handset Emulator not starting on Windows 7
  • Retrieve IP address of device
  • Error in installing package: fatal error: stdlib.h: no such file or directory
  • Get specific string
  • cygwin cannot exec 'git-add--interactive' permission denied
  • Is playing sound in Javascript performance heavy?
  • error importing numpy
  • ADO and msqli connections very slow
  • PHP buffered output depending on server setting?
  • How to set ini file attributes during an Inno install
  • Setting up SourceTree to merge unity3d scenes with UnityYAMLMerge
  • Controls, properties, events and timers running in design time
  • ILMerge & Keep Assembly Name
  • Updated Ionic CLI but shows previous version (Windows)
  • Apache 2.4 - remove | delete | uninstall
  • Calling of Constructors in a Java
  • Traverse Array and Display in markup
  • Transpose CSV data with awk (pivot transformation)
  • Unit Testing MVC Web Application in Visual Studio and Problem with QTAgent
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • Why can't I rebase on to an ancestor of source changesets if on a different branch?
  • Hits per day in Google Big Query
  • FormattedException instead of throw new Exception(string.Format(…)) in .NET
  • How do I configure my settings file to work with unit tests?
  • Setting background image for body element in xhtml (for different monitors and resolutions)
  • Can Visual Studio XAML designer handle font family names with spaces as a resource?
  • IndexOutOfRangeException on multidimensional array despite using GetLength check
  • Linking SubReports Without LinkChild/LinkMaster
  • Are Kotlin's Float, Int etc optimised to built-in types in the JVM? [duplicate]
  • XCode 8, some methods disappeared ? ex: layoutAttributesClass() -> AnyClass
  • costura.fody for a dll that references another dll
  • Binding checkboxes to object values in AngularJs