Android development on Ubuntu: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
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..." |
Dcunningham (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
The following should give you a working environment on Ubuntu 16.04 to compile the Enswitch Android app. |
The following should give you a working environment on Ubuntu 16.04 to compile the Enswitch Android app. |
||
- Install Ubuntu packages: |
|||
| ⚫ | |||
<code><pre> |
|||
| ⚫ | |||
</pre></code> |
|||
- Download and extract Android command-line tools from: |
- Download and extract Android command-line tools from: https://developer.android.com/studio/index.html |
||
https://developer.android.com/studio/index.html |
|||
- Install packages: |
- Install Android packages: |
||
<code><pre> |
|||
bin/sdkmanager tools |
bin/sdkmanager tools |
||
bin/sdkmanager platform-tools |
bin/sdkmanager platform-tools |
||
bin/sdkmanager 'platforms;android-23' |
bin/sdkmanager 'platforms;android-23' |
||
bin/sdkmanager 'build-tools;23.0.2' |
bin/sdkmanager 'build-tools;23.0.2' |
||
</pre></code> |
|||
- Clone enswitch-android to ~/git/ and cd to that directory. |
- Clone enswitch-android to ~/git/ and cd to that directory. |
||
- Compile the app: |
- Compile the app: |
||
<code><pre> |
|||
make |
make |
||
</pre></code> |
|||
Latest revision as of 01:40, 15 March 2017
The following should give you a working environment on Ubuntu 16.04 to compile the Enswitch Android app.
- Install Ubuntu packages:
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 Android 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