Git Product home page Git Product logo

Comments (4)

alexanderdean avatar alexanderdean commented on July 26, 2024

These instructions work fine, nice work

from ansible-playbooks.

alexanderdean avatar alexanderdean commented on July 26, 2024

Updated to be more Ansible friendly:

apt-get install -y openjdk-7-jre openjdk-7-jdk libc6-i386 lib32stdc++6 lib32gcc1 lib32ncurses5 zlib1g lib32z1
sudo wget -P /var/local/ansible-cache/ http://dl.google.com/android/android-sdk_r23.0.2-linux.tgz
sudo tar -xvf /var/local/ansible-cache/android-sdk_r23.0.2-linux.tgz -C /usr/local/share/
export ANDROID_HOME=/usr/local/share/android-sdk-linux
export PATH="$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools:$PATH"
echo "export ANDROID_HOME=`pwd`/android-sdk-linux
export PATH=\"\$ANDROID_HOME/tools:\$ANDROID_HOME/platform-tools:\$PATH\"" >> ~/.bashrc
( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | android update sdk -u --all --filter platform-tool-19.1.0,build-tools-19.1.0,android-19,105,106,99,98,16,4,2

Note getting some weird permissions issues with the above (no issues if drop sudo and install into ~)

from ansible-playbooks.

jonalmeida avatar jonalmeida commented on July 26, 2024

There's a minor error in the ansible friendly version: You need to do an apt-get update first before apt-get install to download sources if it's on a fresh vagrant install. Otherwise, aptitude won't be able to find any applications.

from ansible-playbooks.

alexanderdean avatar alexanderdean commented on July 26, 2024

Thanks Jonathan!

from ansible-playbooks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.