Problems compiling NDK project with Android Studio 1.3 preview -
decided give new ndk support in android studio shot seem running issue:
error: 'std::function' has not been declared
had few other linking issues stl libraries before fixed adding
stl "stlport_static" cflags "-o2 --std=c++11 "
to gradle config.
has dealt similar? i've been googling past couple of days answers seem out of date or not related android studio 1.3.
in fact, not has changed since around january 2014 regarding ndk support in android studio. 1.3 version out right preview 3, , amazing ndk support has been shown @ google i/o isn't inside yet. should out though.
regarding missing std::function: did include <functional> ? also, std option should defined -std, not --std
Comments
Post a Comment