How To Enable C++11 For Android Studio?
I'm using Android studio 1.3.2+ndk-r11b-windows-x86_64 and try to build project with native code and C++11 features (share_ptr, weak_ptr and etc.) but got some errors. For example:
Solution 1:
On build.gradle file of the App I go to android -> defaultConfig -> externalNativeBuild -> cmake and I edit the cppFlags parameter from this
cppFlags ""
to this
cppFlags "-std=c++11"
Post a Comment for "How To Enable C++11 For Android Studio?"