professormanhattan.androidstudio

Android Studio - A Tool for Android Development

Created by Megabyte Labs

Android Studio logo


Introduction

This project provides an Ansible role to install Android Studio and set up Android SDKs on almost any operating system. Android Studio is the official integrated development environment for Android, designed for building Android apps.

Key Features

  • Installs Android Studio on various operating systems like Ubuntu, Windows, and macOS.
  • Installs necessary command-line tools and ensures they are in your system's PATH for easy access.
  • Configurable list of Android SDKs to be installed in the user’s home directory.

Quick Start

You can install Android Studio in just one command based on your OS:

  • For Linux/macOS:

    curl -sS https://install.doctor/androidstudio | bash
    
  • For Windows:

    Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://install.doctor/androidstudio?os=win'))
    

Note: It's wise to check the URL for safety before executing the script.

If you'd rather use Ansible for installation, this guide details how to integrate our role into your existing playbook.

Variables to Customize

You can adjust the following variables in the defaults/main.yml file:

  • android_sdks: List of Android SDKs to install.
  • sdk_location: The directory where SDKs will be installed.
  • user_configs: User-specific configurations for installing SDKs.

Example Variable Configurations

android_sdks:
  - platform-tools
  - emulator
sdk_location: ~/Android/Sdk
user_configs:
  - username: myuser
  - username: root
    system: true

Supported Operating Systems

This role has been tested on various versions of Debian and Ubuntu. See the comprehensive list to ensure compatibility.

OS Family OS Version Status
Debian 10 (Buster)
Ubuntu 18.04
Ubuntu 20.04

Dependencies

Before running this role, ensure you install the necessary collections and Python packages by executing:

ansible-galaxy install -r requirements.yml

Example Playbook

To use this role, just add it to your main playbook:

- hosts: all
  roles:
    - professormanhattan.androidstudio

Contributing

Contributions and suggestions are welcome! If you want to contribute, please check the guidelines.

License

This project is licensed under the MIT License.


Thank you for considering this project for your Android development setup!

Installa
ansible-galaxy install professormanhattan.androidstudio
Licenza
other
Download
243
Proprietario
Free open-source developer tools for managing massive amounts of code