You can find the Android Sample in [SFML_ROOT]\examples\android
You can copy it to leave the SFML repository in it's original state. Open cmd.exe in the sample location.
To get a list of all available Android build targets:
android list target
Run Update Project for the Sample:
android update project --path [Path/to/Android/Sample] --target [targetID]
e.g.
android update project --path "" --target android-19
For path we can use ""
because we are running cmd in the sample path already.
To compile use this command:
ndk-build
Create the debug (or release) apk:
ant debug
ant release
Or use this command to directly install it on a device:
ant debug install