Last active
September 27, 2015 19:43
-
-
Save rplaurindo/599c5e85c538362a89e9 to your computer and use it in GitHub Desktop.
Programando em Android
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Instalar JDK 6 ou superior. JDK é o acronimo de Java Development Kit, ou seja, Kit de desenvolvimento Java. | |
# Contém o seu compilador "javac" e suas bibliotecas nativas. | |
# Instalando o JDK 7 no Ubuntu 13.10 (Saucy Salamander) ou superior | |
# Requiriments for 64 bits version | |
$ sudo dpkg --add-architecture i386 | |
$ sudo apt-get update | |
$ sudo apt-get install libncurses5:i386 libstdc++6:i386 zlib1g:i386 lib32ncurses5-dev lib32stdc++6 icedtea6-plugin | |
# o site também informa ia32-libs, mas não consta no repositório | |
# Para verificar se já está instalado, execute: $ dpkg --get-selections | grep <package> | |
$ sudo apt-get install -fyu openjdk-7-jdk | |
# Para verificar se está tudo ok, execute: | |
$ javac -version | |
# caso apareça corretamente a versão, então o compilador do Java foi adicionado corretamente a variável PATH do sistema. | |
# fontes: | |
# * http://developer.android.com/intl/pt-br/sdk/installing/index.html?pkg=tools | |
# * https://www.java.com/pt_BR/download/help/path.xml | |
# * https://help.ubuntu.com/community/AndroidSDK |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Instalando SDK (Software Development Kit) do Android | |
# Download em http://developer.android.com/intl/pt-br/sdk/installing/index.html?pkg=studio | |
# o executável encontra-se em bin/studio.sh | |
# Adicione o SDK a variável PATH no arquivo .bashrc | |
export PATH=${PATH}:~/Android/Sdk/tools | |
export PATH=${PATH}:~/Android/Sdk/platform-tools |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment