Now git-annex can be used on Android!

Documentation for using git-annex on 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 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.

building it yourself

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

  • First, install https://github.com/neurocyte/ghc-android.
  • 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.
  • In standalone/android/, run install-haskell-packages native
  • 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
Does this require 4.x?
Comment by http://josh.easyid.net/ Tue Jun 18 22:05:02 2013
I have not heard of anyone using older than 4.x with success. In particular, several people reported 2.3 doesn't work.
Comment by http://joeyh.name/ Tue Jun 25 17:58:57 2013
Is it safe to upgrade by installing a daily build over an existing version? Will that overwrite any settings?
It is safe to re-install, all your data and settings are stored in /sdcard and will not be touched, even if you delete the app!
Comment by http://joeyh.name/ Fri Jul 5 00:53:00 2013

Things seem broken under the recently released 4.3 release for nexus devices:

Falling back to hardcoded app location; cannot find expected files in /data/app-lib u0_a33@mako:/sdcard/git-annex.home $ git annex webapp CANNOT LINK EXECUTABLE: git-annex invalid R_ARM_COPY relocation against DT_SYMBOLIC shared library libc.so (built. with -Bsymbolic?) 1|u0_a33@mako:/sdcard/git-annex.home $

I'm seeing the same error as the previous comment from Tony on my Nexus 7 after I updated it to the stock (albeit rooted) 4.3 release from Google.
Comment by justjohn Sun Jul 28 16:14:18 2013
@Tony @justjohn: I created a proper bug for this: git-annex broken on Android 4.3
Any chance that older versions of Android will be supported in the future?

Hi, Really enjoy this app for Android! Super simple to use but it would be great if you could fix a folder navigator option when choosing location for device repo, right now it does not work.

Could you also add it to the F-Droid repository?

Comment by http://openlifechallenge.wordpress.com/ Sun Sep 8 09:56:38 2013
Comments on this page are closed.