4 To build libusb for Android do the following:
6 1. Download the latest NDK from:
7 http://developer.android.com/tools/sdk/ndk/index.html
11 3. Open a shell and make sure there exist an NDK global variable
12 set to the directory where you extracted the NDK.
14 4. Change directory to libusb's "android/jni"
16 5. Run "$NDK/ndk-build".
18 The libusb library, examples and tests can then be found in:
21 Where $ARCH is one of: