I have already done that, but in order for android studio to work properly I have to install the android SDK which is not included in the folder that is downloaded for android studio.
just download the package from here https://developer.android.com/sdk/index.html , extract in home and follow the instructions mention before, launch the studio and later you can access the android SDK manager from the studio.
Could you post a little more details? Is there a specific error message you're getting? Simply installing the SDK isn't enough, within the IDE you also need to specify the location of the install.
So in Step 5 of that tutorial, it looks like you are changing the permissions first: chown -R root:root /tmp/android-sdk-linux* chmod -R +xr /tmp/android-sdk-linux
Then moving the files to the correct folder:
mv /tmp/android-sdk-linux* /opt/android-sdk-linux
It looks like you didn't download the files to the correct folder to begin with, which was step two. If you did, then the commands in step five, to change the permissions and copy the files to the /opt/ directory, should work properly. Let me know if you need more help.