简体   繁体   中英

Unable to set Android SDK Path in Android Studio

I am unable to set the Android SDK Path on a fresh install of Android Studio for Ubuntu 14.04. Clicking 'Apply' and 'OK' do not do anything, even though the supplied path is valid.

This error does appear to be linked to file permissions. Another option rather than granting read write and execute rights to everyone is to change the owner/group of the files like so:

sudo chown -R UserNameHere:UserGroupHere android-studio

My Android SDK directory did not have the necessary permissions.

I blindly updated them with

$ sudo chmod -R 777 /urs/bin/android-studio/

and it now works.

I reported a bug for this: https://code.google.com/p/android/issues/detail?id=73155

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM