mirror of https://github.com/BOINC/boinc.git
1.3 KiB
1.3 KiB
Goals
Provide a turn-key VM for Android development
Requirements
- Vagrant
- VirtualBox
- Host:
- 4 CPU cores (2 used by VM)
- ~18 GB disk space
- 4 GB RAM (2 used by VM)
- Download volume (once): ~3.5 GB
HOWTO
- On your host: open a terminal
cd <BOINC_REPO>/android
vagrant up
- Wait until the final reboot finished
- From this point on you don't need Vagrant anymore
- Don't run
vagrant up
again! - Just use VirtualBox to stop/start your new shiny VM
- Don't run
- In the VM:
- Log in with
vagrant/vagrant
- Open a terminal
cd BOINC/android
./build_all.sh
- Start Android Studio
- No need to change anything in the setup assitant (just complete it)
- OK / Next / Next / Finish / Finish
- Import the BOINC App as Gradle project from:
~/BOINC/android/BOINC
- Ignore potential Gradle Plugin warning: Don't remind me again
- Log in with
- Hook up your Android device via USB (and remember to attach it to VirtualBox)
- Happy hacking :-)
Known limitations
- The Android Virtual Device Manager might not work properly as it needs virtualization which isn't possible within a virtual machine (at least not using VirtualBox).