Reputation: 1241
I am facing a problem with Ubuntu as I am new to Ubuntu.
What I have done is, Installed Eclipse Kepler and android-sdks in /home and set SDK location to /home/android/android-sdks in Eclipse (Window -> Preferences -> Android). everything is working fine. later I understood that SDK is taking too much hard disk space (nearly 6 GB) so I have copied android-sdks to /media/Softwares/android folder and deleted from /home/android.
now When updating SDK location in Eclipse to /media/Softwares/android/android-sdks, I am getting below Exception
[2013-12-11 22:38:05 - adb] Unexpected exception 'Cannot run program "/media/Softwares/android/android-sdks/platform-tools/adb": error=13, Permission denied' while attempting to get adb version from '/media/Softwares/android/android-sdks/platform-tools/adb'
please help me to solve this issue...
thanks in Advance...
Upvotes: 1
Views: 2372
Reputation: 2025
You should not have put your stuff into media directory. This is where the system mounts drives. I believe '/usr' would be a more suitable place for your sdk.
if you have problems with access to some directory, navigate to it from the terminal and use 'chmod' command.
chmod 777 -R xxx (where xxx is a name of the directory you want to change access rights to) will give all possible access rights to all users
Upvotes: 6