Tested and working in Ubuntu 12.04 with NDK r9d