2014年6月18日 星期三

"undefined reference to `typeinfo"

I use stl library in my Android project, so I add "stlport_static" in Application.mk.

However, this would cause the link error: "undefined reference to `typeinfo XXXXXX"

So, replace "stlport_static" with 

APP_STL := gnustl_static

Don't know reason, but works.

沒有留言: