Development Environment - GatorQue/cr-manifests GitHub Wiki
Host Development Environment Setup
Host Software Versions
- Kubuntu 14.04
- Android Studio IDE v1.5.1 Build 141.2456560
- Oracle Java JDK v8
Host Software Installation Instructions
Follow the normal procedure for install Kubuntu 14.04 on your development PC and then do the following to install Oracle Java JDK version 8.x.
sudo apt-add-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
sudo cd /usr/lib/jvm
sudo ln -s java-8-oracle default-java
If CPU support for VM hardware acceleration is available, then follow the steps outlined here [https://help.ubuntu.com/community/KVM/Installation] to install KVM support.
Download the Android Studio IDE installer and extract it to your home directory (e.g. ~/android-studio) and then do the following to install the Android SDK.
- Add the following lines to your ~/.profile file to add the Android studio.sh script file to your path
# set PATH so it includes android-studio bin directory
if [ -d "$HOME/android-studio/bin" ] ; then
PATH="$HOME/android-studio/bin:$PATH"
fi
- Log out and log back in (or add above path manually to PATH)
- Install some additional 32 bit libraries needed for downloading Android SDK
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
- Launch Android studio.sh file to complete Android SDK setup into ~/Android/SDK folder
studio.sh
- Answer all questions (accept defaults) and wait for Android SDK download to complete
- Exit Android Studio after download compeletes
Download Git, Git flow, and Google Repo tools by doing the following:
- Download Git, Git-flow, and curl tools
sudo apt-get install git git-flow curl
- Download Google Repo tool
mkdir -p ~/bin
curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo
chmod a+x ~/bin/repo
Now you should be ready to follow the Development User Manual steps to setup CosmicRover development environment.