Ejecute esto:
# Config
INSTALL_DIR=/opt/android-studio
FLUTTER_VERSION=v1.0.0-stable
AS_VERSION=3.3.1.0
AS_FILE=android-studio-ide-182.5264788-linux.zip
# Instalando las dependencias
para 18.04
sudo apt install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6 libbz2-1.0:i386 lib32stdc++6 qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils
para 19.10
sudo apt install lib32z1 lib32ncurses6 lib32ncurses-dev lib32stdc++6 libbz2-1.0:i386 lib32stdc++6 qemu-kvm qemu-kvm libvirt-daemon-system libvirt-clients bridge-utils
sudo add-apt-repository ppa:openjdk-r/ppa -y
sudo apt-get update -y
sudo apt-get install openjdk-8-jdk -y
# Descargando android studio y flutter sdk
sudo mkdir ${INSTALL_DIR}
sudo chmod 777 ${INSTALL_DIR}
cd ${INSTALL_DIR}
wget https://dl.google.com/dl/android/studio/ide-zips/${AS_VERSION}/${AS_FILE}
unzip android-studio-ide-182.5264788-linux.zip
wget https://storage.googleapis.com/flutter_infra/releases/stable/linux/flutter_linux_${FLUTTER_VERSION}.tar.xz
unzip flutter_linux_${FLUTTER_VERSION}.tar.xz
#Instale Android Studio y su SDK
bash ${INSTALL_DIR}/bin/studio.sh
# Instale flutter sdk
export PATH=${INSTALL_DIR}/flutter/bin:$PATH
echo "export JAVA_OPTS='-XX:+IgnoreUnrecognizedVMOptions --add-modules java.se.ee'" >> ${HOME}/.bashrc
echo "----PRESS Y-----"
flutter doctor --android-licenses
lunes, 25 de febrero de 2019
martes, 5 de febrero de 2019
run 3T Studio even if the trial time has expired
https://gist.github.com/Eitol/17e78f6196c274482207b62e1fa511bc
Suscribirse a:
Entradas (Atom)