Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android NDK C++ 'wstring' support

I have source code/lib written in C++ - now i would like to compile and use the same in Android NDK project (NDK 6). I am able to compile most of the C++ files except "std::wstring" based functionality.

In Application.mk when i specify APP_STL: = stlport_static then it compiles std::wstring based code but when i specify APP_STL: = gnustl_static it fails to compile. I do not know how to resolve std::wstring related issue with APP_STL: = gnustl_static

Any pointer or help on this would be greatly appreciated.

like image 867
user895935 Avatar asked Oct 08 '11 12:10

user895935


1 Answers

A very similar question has already been asked: android-ndk gnustl_static exe not working consider looking at that question and testing to see if any of those answers work.

like image 79
slayton Avatar answered Sep 27 '22 18:09

slayton