summaryrefslogtreecommitdiff
path: root/doc/install/Android.mdwn
blob: da5f6a6450b81e4c21f0e23b42c66aa9a5384b40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Now git-annex can be used on Android!

[[Documentation for using git-annex on Android|/android]]

## Android app

First, ensure your Android device is configured to allow installation
of the app. Go to Setup -> Security, and enable "Unknown Sources".

[Download the git-annex.apk](http://downloads.kitenet.net/git-annex/android/current/)
onto your Android device, and open it to install.

## autobuilds

A daily build is also available, thanks to Mesar Hameed and the University
of Bath CS department.

* [download apk](http://downloads.kitenet.net/git-annex/autobuild/android/git-annex.apk) ([build logs](http://downloads.kitenet.net/git-annex/autobuild/android/))

## building it yourself

git-annex can be built for Android, with `make android`. It's not an easy
process:

* First, install <https://github.com/joeyh/ghc-android>.
  The easiest way is to follow the instructions at the end of its README.md
  to install in a Debian stable chroot.
* In git-annex's `standalone/android/` directory, run
  `./install-haskell-packages native && ./install-haskell-packages cross`
* You will need to have the Android SDK and NDK installed; see
  `standalone/android/Makefile` to configure the paths to them. You'll also
  need ant, and the JDK.
* You also need to install git and all the utilities listed on [[fromscratch]],
  on the system doing the building.
* Then to build the full Android app bundle, use `make androidapp`