http://ads.buzzcity.net/adpage.php?partnerid=40096
分类: 嵌入式
2011-05-18 13:00:47
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
DetailsTo build the hello example,
$ cd ndk
$ ./ndk-build -C samples/hello-jni
To build more complex examples
like san-angles using OpenGL, you
need to build the required system libs
first since they are not in NDK prebuilt libs.
On top of froyo-x86 tree
$ . build/envsetup.sh
$ lunch vm-eng (or any target you'd like)
$ m libGLESv1_CM
Then you can build the example by
$ cd ndk
$ ./ndk-build -C samples/san-angeles
Then build the x86 apk by Eclipse or Ant as usual.