You should have the mistService-esp repository, branch master.
Symlink the following subdirectories of mistService-esp to referencelibrary/src/main/jni
deps mistService wish_app wish_app_deps wish_rpc
Then compile with 'ndk-build' in directory referencelibrary/src/main/jni