Android Studio does not work with read-only shared Android Sdk -




with android studio 2.3 seems impossible use shared , therefore read-only sdk installation.

# pwd /opt # chmod -r a+r android android-studio # find android -type d -exec chmod 755 {} + # find android-studio -type d -exec chmod 755 {} + # su other $ export android_sdk_root=/opt/android/sdk $ touch /opt/android/sdk/test touch: cannot touch '/opt/android/sdk/test': permission denied /opt/android-studio/bin/studio.sh 

studio starts nicely wants download sdk (android_sdk_root) ignored. anyway, can try set in sdk-manager, not work location read-only (i can understand "manager" not want read-only location). there possibility "configure, project defaults, project structure" , there entry "android sdk location /opt/android/sdk accepted. , works existing projects. when starting new project see wizzard abort message sdk location not writable.

copying empty project , starting there works. ubuntu 16.04.3, oracle jdk 1.8. fresh android studio 2.3.3.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -

python - Read npy file directly from S3 StreamingBody -