This page explains how to use NDK for android-x86
As the first step to support android ndk for Android-X86. we have created a prebuilt package for user to test. This wiki page explains how to use this ndk
1. download the ndk-x86.tgz from the download list
2. tar zxfv ndk-x86.tgz
3. cd ndk
4. build/host-setup.sh
5. build something by using command like below:
For the foryo, you don't need to download the tarball mentioned above. Here is the new steps:
You may just use the NDK shipped with froyo-x86
source tree.
To build the hello example,
cd ndk
./ndk-build -C samples/hello-jni
. build/envsetup.sh
lunch vm-eng (or any target you'd like)
m libGLESv1_CM
cd ndk
./ndk-build -C samples/san-angeles