Imported Upstream version 0.9.1
[platform/upstream/iotivity.git] / resource / csdk / connectivity / build / android / README.txt
1 Compiling Interface APIs FOR Android:
2 ===================================
3 •Preconditons :
4         Please download the following
5         1) tinydlts library and keep at $(CA_HOME)/lib/tinydtls
6 •Supported version : 5.0 ( Lollipop )
7 •Required NDK version : android-ndk-r10d ( https://developer.android.com/tools/sdk/ndk/index.html )
8 • Modify Makefile ( connectivity/build/android/Makefile )
9     $ cd ${CA_HOME}/connectivity/build/android
10     $ vi Makefile
11   #  Change the NDK_PATH
12     NDK_PATH = ${your_ndk_path}
13  Build : $(CA_HOME)/build/android/Makefile
14     $ cd ${CA_HOME}/connectivity/build/android
15     $ ndk-build clean; ndk-build
16
17