This project is intended to be used with the https://github.com/thaliproject/Thali_CordovaPlugin plugin to implement the Android Bluetooth communication library needed for it.
-
For command line build process, you should use gradle, thus you need to set system environment variable ANDROID_BUILD to gradle
-
for android implementation you need to build the p2p library to local maven (development time only)
Get maven and install it locally: http://maven.apache.org/download.cgi
get the library from: https://github.com/thaliproject/Thali_CordovaPlugin_BtLibrary
go to root of the library project and build with "gradlew build install" and the library should be visible in .m2\repository\org\thaliproject\p2p\btconnectorlib\btconnectorlib2\0.0.0
I would assume (not tested at all) that the build process simply looks for the files in right place, thus you can try extracting the .m2.zip into your user folder and see whether it works.