Android NDK C++'wstring'支持

use*_*935 8 c++ android wstring android-ndk

我有用C++编写的源代码/ lib - 现在我想在Android NDK项目(NDK 6)中编译和使用相同的代码.我能够编译大多数C++文件,除了基于"std :: wstring"的功能.

在Application.mk中,当我指定APP_STL: = stlport_static它然后它编译std::wstring基于代码,但当我指定APP_STL: = gnustl_static它无法编译.我不知道如何解决std::wstring相关问题APP_STL: = gnustl_static

任何指针或帮助将非常感激.

sla*_*ton 1

已经提出了一个非常类似的问题:android-ndk gnustl_static exe not running 考虑查看该问题并测试以查看这些答案是否有效。