![]() This approach is extremely powerful because it allows system administrators duplicate development workstations using rsync -avz without relying onto any username or custom privileges. Sudo chown root:adm -R /opt/google/androidįinally launch Android Studio and choose the SDK location: # Grant write permission to administrators Ensure your user has adm privileges grep adm /etc/group | grep $ The steps above work perfectly on Ubuntu 22.04 and shall work on other distros with minor adjustments. Obey the filesystem hierarchy, installing the IDE and SDK into /opt.The old school way is according to Linux directory hierarchy as described at The Linux Documentation Project, which consists on: System administrators won't be able to mirror OS images, thus each engineer will have to install SDK manually. ![]() Packages added will be restricted to a single user.IMHO it is a really bad practice install SDK into user home directory because: Any issue added here will be closed as a duplicate of this one, making this the. ANDROID_HOME is correctly defined with the correct SDK location. A duplicate is an issue with similar content.Your user has write permission into Android SDK directory.
0 Comments
Leave a Reply. |