On the device itself? Not sure why you wouldn't just use a computer, the Android ndk and a cross compiler.