Android development on Ubuntu

From Integrics Wiki
Revision as of 01:38, 15 March 2017 by Dcunningham (talk | contribs) (Created page with "The following should give you a working environment on Ubuntu 16.04 to compile the Enswitch Android app. - sudo apt-get install openjdk-8-jdk openjdk-8-jdk-headless openjdk-8...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

The following should give you a working environment on Ubuntu 16.04 to compile the Enswitch Android app.

- sudo apt-get install openjdk-8-jdk openjdk-8-jdk-headless openjdk-8-jre openjdk-8-jre-headless ant

- Download and extract Android command-line tools from: https://developer.android.com/studio/index.html

- Install packages: bin/sdkmanager tools bin/sdkmanager platform-tools bin/sdkmanager 'platforms;android-23' bin/sdkmanager 'build-tools;23.0.2'

- Clone enswitch-android to ~/git/ and cd to that directory.

- Compile the app: make