During installation of android SDK the permission problem appears. It says permission denied.snapshot attached as follows.How to resolve this problem?
You can run any command with
sudo in order to give super user privileges to that command. So here you can write
sudo ./android and then it asks your password.
Before that please check if your file
(android) has executable permission or not. You can check that with
ll android similar to the image below:
If there is not executable permission you can add x permission with this command:
chmod +x android.
And you're done.
From http://developer.android.com/sdk/installing/adding-packages.html which I assume is the step you are on as you used
Mac/Linux: Open a terminal and navigate to the tools/ directory in the location where the Android SDK was installed, then execute
android sdk instead of