It seems that there is a problem compiling against android 2.2 with the following options in Application.mk:
APP_PLATFORM := android-8
APP_CPPFLAGS := ~~std=c++11~~frtti -fexceptions
APP_STL := gnustl_static
It may be related to the following bug:
Anyhow, I can confirm that it does not correctly compile SimpleGame with the above settings. It never loads the library and just hangs with a black screen.