summaryrefslogtreecommitdiff
path: root/doc/install/Android.mdwn
blob: 1731f108aac85578687e51d422d6979090d50f58 (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
36
37
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".

Then download the git-annex.apk for your version of Android, and 
open it to install.

* [Android 4.4 and 4.3 git-annex.apk](http://downloads.kitenet.net/git-annex/android/current/4.3/git-annex.apk)
* [Android 4.0 to 4.2 git-annex.apk](http://downloads.kitenet.net/git-annex/android/current/4.0/git-annex.apk)

## autobuilds

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

* [Android 4.4 and 4.3 git-annex.apk](http://downloads.kitenet.net/git-annex/autobuild/android/4.3/git-annex.apk)
* [Android 4.0 to 4.2 git-annex.apk](http://downloads.kitenet.net/git-annex/autobuild/android/4.0/git-annex.apk)
* [build logs](http://downloads.kitenet.net/git-annex/autobuild/android/)

## building it yourself

git-annex can be built from source for Android.

1. Run `standalone/android/buildchroot` as root (requires debootstrap).
   This builds a chroot with an `builder` user.
   The rest of the build will run in this chroot as that user.
2. In the chroot, run `standalone/android/install-haskell-packages`
   Note that this will break from time to time as new versions of packages
   are released, and the patches it applies have to be updated when
   this happens.
3. Finally, once the chroot is set up, you can build an Android binary
   with `make android`, and `make androidapp` will build the complete APK.