In order to build this I had to remove: ```util/errno.c``` from CMakeLists.txt Then I was able to create the aar. Also for those struggling to build this, take a look at the travis.yml file. You need ndk-r16b