2013-05-03 16:29:52 +00:00
|
|
|
Now git-annex can be used on Android!
|
|
|
|
|
|
|
|
[[Documentation for using git-annex on Android|/android]]
|
2013-02-13 18:32:16 +00:00
|
|
|
|
2018-04-25 19:40:00 +00:00
|
|
|
## Termux
|
|
|
|
|
|
|
|
This just in: git-annex can be used in Termux, instead of using the Android
|
|
|
|
app below. [[Give git-annex in Termux a try|tips/install_on_Android_in_Termux/]]
|
|
|
|
|
2018-05-08 17:05:20 +00:00
|
|
|
## (Old) Android app
|
2013-02-13 18:32:16 +00:00
|
|
|
|
2018-05-08 17:05:20 +00:00
|
|
|
This app is being deprecated in favor of Termux. It doesn't work with newer
|
|
|
|
versions of Android.
|
|
|
|
|
|
|
|
To install it, first, ensure your Android device is configured to allow
|
|
|
|
installation of the app. Go to Setup -> Security, and enable "Unknown
|
|
|
|
Sources".
|
2013-02-13 18:32:16 +00:00
|
|
|
|
2013-11-12 18:24:53 +00:00
|
|
|
Then download the git-annex.apk for your version of Android, and
|
|
|
|
open it to install.
|
|
|
|
|
2015-01-08 23:29:17 +00:00
|
|
|
* [Android 5.0 git-annex.apk](http://downloads.kitenet.net/git-annex/android/current/5.0/git-annex.apk)
|
2013-11-12 18:24:53 +00:00
|
|
|
* [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)
|
2013-02-13 18:32:16 +00:00
|
|
|
|
2013-02-26 04:03:55 +00:00
|
|
|
## autobuilds
|
|
|
|
|
2013-09-11 17:19:57 +00:00
|
|
|
A daily build is also available, thanks to Mesar Hameed and the University
|
|
|
|
of Bath CS department.
|
2013-02-26 04:03:55 +00:00
|
|
|
|
2015-01-05 16:29:20 +00:00
|
|
|
* [Android 5.0 git-annex.apk](http://downloads.kitenet.net/git-annex/autobuild/android/5.0/git-annex.apk)
|
2013-11-12 18:24:53 +00:00
|
|
|
* [Android 4.4 and 4.3 git-annex.apk](http://downloads.kitenet.net/git-annex/autobuild/android/4.3/git-annex.apk)
|
2013-11-12 19:28:54 +00:00
|
|
|
* [Android 4.0 to 4.2 git-annex.apk](http://downloads.kitenet.net/git-annex/autobuild/android/4.0/git-annex.apk)
|
2013-11-12 18:24:53 +00:00
|
|
|
* [build logs](http://downloads.kitenet.net/git-annex/autobuild/android/)
|
2013-02-13 18:32:16 +00:00
|
|
|
|
|
|
|
## building it yourself
|
|
|
|
|
2013-09-22 17:03:34 +00:00
|
|
|
git-annex can be built from source for Android.
|
|
|
|
|
|
|
|
1. Run `standalone/android/buildchroot` as root (requires debootstrap).
|
2014-07-06 10:32:30 +00:00
|
|
|
This builds a chroot with a `builder` user.
|
2013-09-22 17:03:34 +00:00
|
|
|
The rest of the build will run in this chroot as that user.
|
2014-05-26 21:56:41 +00:00
|
|
|
2. In the chroot, run `standalone/android/install-haskell-packages`
|
2013-09-22 17:03:34 +00:00
|
|
|
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.
|