See comments in Android.mk When compiling an APK, follow roughly these steps 1. create dir /jitterentropy 2. copy AndroidManifest.xml to /jitterentropy 3. copy code and Android.mk to /jitterentropy/jni 4. cd /jitterentropy 5. open eclipse and import project 6. on console android update project -p . -s 7. ../ndk-build 8. in eclipse: open manifest and compile am start -n de.chronox.jitterentropy/android.app.NativeActivity