Now the project is more or less ready for NDK build.