How to build libgame.so with Android SDK 2.3.1 ?

Hi,

Because of the new Admob lib, it seem need to use at least android sdk 2.3.1 for it’s target api level.

But when I change the project build target to API Level 9(Eclipse~~>Project Properties~~>Android), and I compiled the libgame.so, I get the GLES/gl.h not found issue with a lot of other errors.

After I change back to API Level 9, and re-compiled, everything is fine.

Can somebody give a light about what happened ?

Thank you.

Somebody had told me that the gl.h woulb be deleted after updating ADT. May be you meet the same issue. The header files are in NDK_ROOT/platformrs/…. I am sorry, I forget the path.