4 build notes
Morgan McMillian edited this page 2019-11-09 01:49:48 +00:00

This is my attempt to document how my current development space for Goober is setup

Node.js

Currently builds only work with Node v10, I suspect mostly a result of the older version of Ionic that is being used. I'm using Node Version Manager (NVM) manage my local node install.

nvm install v10.17.0
npm install -g cordova ionic@3

Java

I'm using the OpenJDK 8 development packages available for my system (currently Ubuntu 19.10).

sudo apt install openjdk-8-jdk

Gradle

The latest binary install from https://gradle.org/ which at the time of this document is 5.6.4 works just fine. Unzip into a suitable location and add to your path.

Android SDK command line tools

mkdir ~/android-sdk && cd ~/android-sdk
unzip ~/Downloads/sdk-tools-linux-4333796.zip
cd ~/android-sdk/tools/bin
./sdkmanager "build-tools;29.0.2" "platforms;android-28" "platform-tools" "emulator"
export ANDROID_HOME=~/android-sdk