samtstern / android-vagrant Goto Github PK
View Code? Open in Web Editor NEWVagrant setup with Android Studio, Android SDK, etc.
License: Other
Vagrant setup with Android Studio, Android SDK, etc.
License: Other
Want to be able to 'snapshot' the VM with file-mapping intact so that it can be distributed on a USB drive.
Add samtstern prefix
Sorry for asking this stupid question and this is really not an issue, but I am fairly new to vagrant and docker, and I do not know how can I start Android Studio in the docker container with X-Windows?
Would it be possible to extend to the README.md with a little peace of command-line how to start Android Studio at the end?
That would be great :-)
Thanks so much
When pulling with Git on Windows, the line endings of scripts/my_bashrc.txt
are mangled such that the VM shell can't source
from the result.
Make AS run in the background, then make bash run in the foreground.
I need proxy to access google adk , otherwise a error " WARN - ateSettings.impl.UpdateChecker - Connection failed. Please check your network connection and try again."
for android studio without docker, set proxy like this
Go to the install location, open bin directory, edit the idea.properties, add below line to the file's end:
disable.android.first.run=true
Then open android studio, set the proxy in configuration and close again.
Remove the line disable.android.first.run=true from idea.properties and open android studio again.
After this, you can work behind a proxy.
how i set proxy for android studio within docker?
I override 'ENTRYPOINT studio.sh โ in 'android-studio' dockerfile using 'docker run --entrypoint=/bin/bash ', then edit idea.properties, but permission denied.
How could i edit file idea.properties ?
android-base --> samtstern/android-base
android-studio --> samtstern/android-studio
Need to modify provisioning scripts so that they don't check for the existence of the ZIP.
Would be good to install Android NDK after installing Android SDK.
When running run_docker.sh "samtstern/android-studio" and it is following the setup wizard for android studio, when installing the archives, it says "url not found" for a bunch of thigns and eventually it just stops (also says permission denied).
Does this run on ubuntu ok? I tried both running with and without root neither made a difference.
I have run run_docker.sh "samtstern/android-studio" and it starts updating SDK and show an Error:
Refresh Sources:
Fetched Add-ons List successfully
Refresh Sources
Installing Archives:
Preparing to install archives
URL not found: /usr/local/android-sdk-linux/temp/tools_r24.3.4-linux.zip (Permission denied)
Done. Nothing was installed.
The following SDK component was not installed: tools
So user can take code home
Android SDK image is 4.5GB bigger than Ubuntu image, but the Android SDK folder is only 2GB.
Android SDK size:
vagrant@da29b6195f58:/$ du -sh ~/Android/Sdk
2.0G /home/vagrant/Android/Sdk
Image sizes:
vagrant@vagrant-ubuntu-trusty-64:~$ docker images
REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE
samtstern/android-studio latest 235a23a2009a About an hour ago 5.589 GB
samtstern/android-base latest b46a4932c7e0 About an hour ago 4.74 GB
ubuntu trusty 5ba9dab47459 2 weeks ago 188.3 MB
ubuntu 14.04 5ba9dab47459 2 weeks ago 188.3 MB
ubuntu 14.04.1 5ba9dab47459 2 weeks ago 188.3 MB
ubuntu latest 5ba9dab47459 2 weeks ago 188.3 MB
Need LICENSE file
Automate this
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.