Team Ai
Apppublic

sxbith/code

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
asdk.sh30 linesDownload Raw Back to root
1#!/bin/bash2 3# Check if Android SDK is already installed4if [ -d "$HOME/Android/Sdk" ]; then5  echo "Android SDK is already installed"6else7  # Download the latest version of the Android SDK8  echo "Downloading Android SDK..."9  wget https://dl.google.com/android/repository/commandlinetools-latest.zip10 11  # Unzip the Android SDK12  echo "Unzipping Android SDK..."13  unzip commandlinetools-latest.zip14 15  # Move the Android SDK to the user's home directory16  echo "Moving Android SDK to user's home directory..."17  mv commandlinetools-latest $HOME/Android/Sdk18fi19 20# Update the bashrc file21echo "Updating bashrc file..."22echo "export PATH=$HOME/Android/Sdk/tools:$HOME/Android/Sdk/platform-tools" >> ~/.bashrc23 24# Reload the bashrc file25source ~/.bashrc26 27# Install the latest version of Flutter28echo "Installing Flutter..."29flutter doctor30